Hi, This exception is fired when you don't have this field on your index, but this comes because you have an error in your query syntax !{ex=cars}cars, should be {*!*ex=cars}cars , whith the exclamation inside the brackets.
Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/5/18 Peter Karich <peat...@yahoo.de> > Hi all, > > I read about multifaceting [1] and tried it for myself. With > multifaceting I would like to conserve the number of documents for the > 'un-facetted case'. This works nice with normal fields, but I get an > exception [2] if I apply this on a multivalued field. > Is this a bug or logical :-) ? If the latter one is the case, would > anybody help me to understand this? > > Regards, > Peter. > > [1] > > http://www.craftyfella.com/2010/01/faceting-and-multifaceting-syntax-in.html > > [2] > org.apache.solr.common.SolrException: undefined field !{ex=cars}cars > at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1077) > at > org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:226) > at > > org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:283) > at > org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:166) > at > > org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72) > at > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) > at > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) > at > > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:336) > at > > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:239) > >