Data :

367380 documents

nGeographicLocations : 39298 distincts values
nPersonNames : 325142 distincts values
nOrganizationNames : 130681 distincts values
nCategories : 929 distincts values
nSimpleConcepts : 110198 distincts values
nComplexConcepts : 1508141 distincts values
Each of those fields has a maximum of 7 values per document.

Query :

http://olympe:1006/solr/select
?sort=publishdate+asc
&facet=true
&facet.field=nPersonNames
&facet.field=nOrganizationNames
&facet.field=nGeographicLocations
&facet.field=nCategories


If you are faceting on fields with 300K distinct fields, you will need to make sure the field cache is set big enough...

A good strategy is to look at the admin stats page:
http://localhost:8983/solr/admin/stats.jsp#cache

run your query once and check the cache stats.
Then run the same query again... make sure the cache has not been evicted.

ryan


Reply via email to