Ok
I' found the problem
It was simply a question of Lock Directory.
The default one is System.IO.Path.GetTempPath(), the temp dir for the
current user. if application are running as different users (quite often
with web applications), the lock directory has to be specified in
configuration file.
That FSDirectory.LOCK_DIR should maybe be safer by default, maybe a sub
directory of Environment.SpecialFolder.CommonApplicationData ?
Vincent
Vincent Daron a écrit :
> Hi
>
> Is it possible to Search an index if another application has an
> IndexWriter opened on the same index ?
>
> As it is possible to Optimise the index while searching, is it also
> possible to add documents using IndexWriter with a IndexSearcher ?
>
> I've that kind of error while opening IndexSearcher : /"Could not find
> file "D:\testIndex\_a1d.fnm"./
>
>
> Thanks for answer
>
> Vincent
>
|