Chris McGee wrote:

These tips have significantly improved the time to build the directory and search it. However, I have noticed that when I perform term queries using a searcher many times in rapid succession and iterate over all of the hits it can take a significant time. To perform 1000 term query searches each with around 2000 hits it takes well over a minute. The time seems to vary

If you are searching using Hits = searcher.search() then you should use a HitCollector, or the TopDocs method instead. Iterating over Hits will cause the search to be remade every 100 hits.

Antony



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to