lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "CommonQueryParameters" by GrantIngersoll
Date Mon, 30 Jan 2012 15:47:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "CommonQueryParameters" page has been changed by GrantIngersoll:
http://wiki.apache.org/solr/CommonQueryParameters?action=diff&rev1=45&rev2=46

  This parameter is used to paginate results from a query.  When specified, it indicates the
'''maximum number of documents''' from the complete result set to return to the client for
every request. (You can consider it as the maximum number of result appear in the page)
  
  The default value is "`10`"
+ 
+ <<Anchor(pageDocpageScore)>>
+ == pageDoc and pageScore ==
+ 
+ <!> Solr4.0 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.
+ 
+    . Example: {{{q=*:*&start=10&pageDoc=5&pageScore=1.345&fl=[docid],score}}}
  
  <<Anchor(fq)>>
  == fq ==

Mime
View raw message