You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Vibhor Goel <vi...@limeroad.com> on 2015/12/08 14:12:27 UTC
question: partialResults true with pagination
hey,
i am using single standalone solr instance. Some of my queries are taking
long time due to large number of result documents. I am using timeout
option and it returns me partial results.
i found out partial results returns a random set of resultant documents, in
sorted order.
My query is when i am using solr with pagination, I am making calls with
same query again and again. how to ensure that i wont get repetition in the
documents, as different queries return different number of resultant
documents.
And with filter cache and document cache will the situation get worse.
How can i have a work around with this problem.
--
Thanks and regards
Vibhor Goel
Re: question: partialResults true with pagination
Posted by Toke Eskildsen <te...@statsbiblioteket.dk>.
On Tue, 2015-12-08 at 18:42 +0530, Vibhor Goel wrote:
> i am using single standalone solr instance. Some of my queries are taking
> long time due to large number of result documents. I am using timeout
> option and it returns me partial results.
Don't request a large number of documents at a time. The exact size
depends on your setup: If they are small documents you can probably get
away with tens of thousands. Asking for millions is a recipe for poor
performance.
> My query is when i am using solr with pagination, [...]
Are you using cursorMark? You should do so, to avoid progressively worse
performance as you page deeper.
https://cwiki.apache.org/confluence/display/solr/Pagination+of+Results
- Toke Eskildsen, State and University Library, Denmark