For changes in the database, you can:
- use the server side business object that also does the update of the BO in
the database, and which currently does also the indexing in lucene
- use the front-end (browser I presume if I see AJAX, which is nothing more
than XmlHttp), but would not be my prefer
Hi Koji,
I might not agree with you ... I did the following: I create new function
which invokes FSDirectory.getDirectory(dir,true) twice . The result I
compare (fs1==fs2). In my situation the (fs1==fs2) = true. So even in my
situation, i have two references to the same Directory object.
If I loo
}
>
> If IndexWriter(path,Analyzer,true) is used,
> IndexWriter calls FSDirectory.getDirectory(path,true) and
> FSDirectory overwrites the existing lock file.
>
> Hope this helps,
>
> Koji
>
> > -Original Message-
> > From: Dick de Jong [mail
Question:
Run attached java class and see the also attached when I ran it.
I assumed the second writer should get an IOException in getWriter (in
first TESTCASE).
However this does not happen! This only happens when I open both
writers with flag 'createIndex'=true (see
also