On Tue, Mar 18, 2008 at 12:58 PM, Tejaswi_Haramurali <[EMAIL PROTECTED]> wrote: > I am Tejaswi , a newbie with solr. > I have tried to add new facets using solrj and I have also made the > appropriate changes in schema.xml and solrconfig.xml. > > My aim is to index Marc-xml files (Marc-XML is a variant of xml used > predominantly with library content) > In this situation, I am facing a problem. > > Now, for instance if I want to facet X,Y,Z fields, > > 1) I make the changes in solr-config.xml > 2) changes in schema.xml > > But however, some of my XML data is variable in the sense that sometimes, > one XML file lacks the 'X' field > one XML file lacks the 'Y' field. In this case, Solr throws an exception.
Do you get the exception when indexing or when searching? What's the full exception stack trace? -Yonik
