Thanks for the answer Mike
indeed it is possible, but practically...
I start the loop immediately after searcher.search(), and with my index size
of 3 MB, the whole operation takes max 100 ms. Given the rate of like 50
updates - addDocument()/expungeDeletes()/IR.reopen() per day, the
probability
Is it possible you are closing the searcher before / while running
that for loop?
Mike
On Wed, Jan 13, 2010 at 9:26 AM, Konstantyn Smirnov wrote:
>
> Hi all
>
> Consider the following piece of code:
>
> Searcher s = this.getSearcher()
> def hits = s.search( query, filter, params.offset + params.
Hi all
Consider the following piece of code:
Searcher s = this.getSearcher()
def hits = s.search( query, filter, params.offset + params.max, sort )
for( hit in hits.scoreDocs[ lower..http://www.poiradar.ru www.poiradar.ru
http://www.poiradar.com.ua www.poiradar.com.ua
http://www.poiradar.com