lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alisa Z. <prol...@mail.ru>
Subject Re: Traversal of documents through network
Date Wed, 20 Apr 2016 17:26:47 GMT
 Viday, 

No, not all of those 500 result docs will be brought to your client (browser, etc.)   Only
as many documents as fit into the 1st "search result page" will be brought.

There is a notion of "pagination" in Solr (as well as in most search engines). The counts
of occurrence might be approximate and anyway you will be displayed only as many documents
as specified by your "search result page" size. By default, page size is set to 10 documents,
so although you might see something like "response":{"numFound":27,"start":0,"docs"}, only
10 top documents will be displayed. 

In Solr, "page" size  is controlled with "start" and "row" parameters ( see https://cwiki.apache.org/confluence/display/solr/Pagination+of+Results),
so if you want less results to be brought at a time, you can specify your query like this:

q="word"&row=5  - that will show you only top 5 results and only they will "traverse
the network" (or being brought from the Solr server to your browser or other client).

If you want to look at another page, you specify 
q="word"&row=5&start=5 - this is the 2nd page  of the results 


Hope it helps.

--Alisa 


>Среда, 20 апреля 2016, 10:01 -04:00 от vidya <vidya.nadella@tcs.com>:
>
>Hi
>
>When i queried a word in solr, documents having that keyword is displayed in
>500 documents,lets say. Will all those documents traverse through network ?
>Or how it happens ?
>
>Please help me on this.
>
>
>
>--
>View this message in context:  http://lucene.472066.n3.nabble.com/Traversal-of-documents-through-network-tp4271555.html
>Sent from the Solr - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message