Ganesh

I would advise to consult Lucene user group archives. I asked a similar question a while back, and it was addressed.

Cheers Jamie

On 2015/09/04 4:56 PM, Ganesh wrote:
Hi

I want to use the searchAfter API in IndexSearcher. This API takes ScoreDoc as argument. Do we need to store the last ScoreDoc value (ScoreDoc value from previous search)? When multiple users perform search, then it might be difficult to store the last ScoreDoc value.

I guess, docid value is not valid when the IndexReader is reopened. We have multiple users simultaneously querying the index. Every minute the IndexReader will be reopened.

public TopDocs searchAfter(ScoreDoc after, Query query, int numHits) throws IOException

Please let me know how to handle this.

Regards
Ganesh

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to