Hi, Mike. Instead of periodically reopen NRT reader , I open/close it for
every search query , will this result in performance issue?
Thanks
lubin
-- --
??: "Michael McCandless";;
: 2014??5??4??(??) 1:43
??: "Lucene Users";
Just leave your IW open forever and periodically reopen your NRT
reader. Be sure you close your old NRT reader after opening a new
one; SearcherManager makes this easy when multiple threads are using
the readers.
Committing every 200 docs seems quite frequent: commit is very costly,
and it's only
Hi,
We use lucene 4.6, our application receives continuously new documents.
Mostly emails. We need the update near real time, so we open the IndexReader
with Directory.open and IndexWriter.
Periodically we do a commit, e.g. every 200 documents.
We used to close the IndexWriter on commi