Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Solr search query facet is returning only 100 results

I am calling solr search hosted on a different machine with a query. When I wrote a query, it returns numFound=2405 matching docs. we have more than 10000 doc indexed. But the facet results that is being returned has only 100 count of ids that i am fetching as a facet fields.


My solr query is here (split for readability):

localhost:8983/solr/select/?
q="C"
&start=0&rows=10
&facet=on
&facet.field=currentEmployer
&facet.field=state
&facet.field=industry
&facet.field=education_university
&facet.field=workHistory_employer
&facet.field=id
&facet.mincount=1

why is this so? Please help me where i am doing wrong?

like image 783
Anu Avatar asked May 31 '12 05:05

Anu


1 Answers

Default value for facet.limit is 100
Add this request parameter to vary the number of facets returned.

A negative value means unlimited.

like image 190
Jayendra Avatar answered Nov 11 '22 18:11

Jayendra