You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by senthil kumaran <ku...@gmail.com> on 2007/05/28 13:57:34 UTC
Does Lucene search over memory too?
Hi,
Does Lucene search FSDirectory as well as buffered in-memory docs while
we are calling searcher.search(query)?
Why I'm asking this is, I've indexed my doc with mergeFactor &
Max.Buff.Docs = 50 and I've optimized and closed it at mid-night
only.Beforeoptimization, my search gives partial matches and it does
not give matches
which is in memory.
To get all matches (inclusive of matches in memory),what i have to do?
Shall I use writer.flush() to resolve this?