See https://issues.apache.org/jira/browse/SOLR-1726 If you expect to be
paging deeply into the results (say beyond page 10, assuming rows=10) and
you are sorting by score, you may wish to add the pageDoc and pageScore
parameters to your request. These two parameters tell Solr (and Lucene)
what the last result (Lucene internal docid and score) of the previous page
was, so that when scoring the query for the next set of pages, it can
ignore any results that occur higher than that item. To get the Lucene
internal doc id, you will need to add [docid] to the &fl list.
See [SOLR-1726] Deep Paging and Large Results Improvements - ASF JIRA If you expect to be
paging deeply into the results (say beyond page 10, assuming rows=10) and
you are sorting by score, you may wish to add the pageDoc and pageScore
parameters to your request. These two parameters tell Solr (and Lucene)
what the last result (Lucene internal docid and score) of the previous page
was, so that when scoring the query for the next set of pages, it can
ignore any results that occur higher than that item. To get the Lucene
internal doc id, you will need to add [docid] to the &fl list.
Although that I assume will not provide any scoring optimisations?
Depending on your use case there is a scan search type and constant_score
query, which may help.
On Thursday, July 12, 2012 3:43:28 AM UTC+1, Otis Gospodnetic wrote:
See [SOLR-1726] Deep Paging and Large Results Improvements - ASF JIRA If you expect to be
paging deeply into the results (say beyond page 10, assuming rows=10) and
you are sorting by score, you may wish to add the pageDoc and pageScore
parameters to your request. These two parameters tell Solr (and Lucene)
what the last result (Lucene internal docid and score) of the previous page
was, so that when scoring the query for the next set of pages, it can
ignore any results that occur higher than that item. To get the Lucene
internal doc id, you will need to add [docid] to the &fl list.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.