Faceting on an author field is almost always a bad idea. Or at least a slow, expensive idea.
Faceting makes big in-memory lists. More values, bigger lists. An author field usually has many, many values, so you will need a lot of memory. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Sep 21, 2015, at 6:42 AM, Uwe Reh <r...@hebis.uni-frankfurt.de> wrote: > > Am 21.09.2015 um 15:16 schrieb Shalin Shekhar Mangar: >> Can you post your complete facet request as well as the schema >> definition of the field on which you are faceting? >> > > Query: >> http://yxz/solr/hebis/select/?q=darwin&facet=true&facet.mincount=1&facet.limit=30&facet.field=material_access&facet.field=department_3&facet.field=rvk_facet&facet.field=author_facet&facet.field=material_brief&facet.field=language&facet.prefix=&facet.sort=count&echoParams=all&debugQuery=true > > > > Schema (with docValue): >> ... >> <field name="material_access" type="string" indexed="true" stored="false" >> required="false" multiValued="true" docValues="true" /> >> <field name="author_facet" type="string" indexed="true" stored="false" >> required="false" multiValued="true" docValues="true" /> >> ... >> <fieldType name="string" class="solr.StrField" sortMissingLast="true" /> >> ... > > > > Schema (w/o docValue): >> ... >> <field name="material_access" type="string" indexed="true" stored="false" >> required="false" multiValued="true" docValues="true" /> >> <field name="author_facet" type="string" indexed="true" stored="false" >> required="false" multiValued="true" /> >> ... >> <fieldType name="string" class="solr.StrField" sortMissingLast="true" /> >> ... > > > > solrconfig: >> ... >> <fieldValueCache class="solr.FastLRUCache" size="48" autowarmCount="20" >> showItems="48" /> >> ... >> <requestHandler name="/select" class="solr.SearchHandler"> >> <lst name="defaults"> >> <int name="rows">10</int> >> <str name="df">allfields</str> >> <str name="echoParams">none</str> >> </lst> >> <arr name="components"> >> <str>query</str> >> <str>facet</str> >> <str>stats</str> >> <str>debug</str> >> <str>elevator</str> >> </arr> >> </requestHandler> > >