lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tejaswi_Haramurali <tejasw...@gmail.com>
Subject Re: Problem with Facetting !
Date Tue, 18 Mar 2008 17:16:10 GMT

Hi Yonik,
The error is 

org.apache.solr.client.exception.SolrClientException: should be lst, not:
str at
org.apache.solr.client.impl.ResultsParser.processFacetInfo(ResultsParser.java:338)
at org.apache.solr.client.impl.ResultsParser.process(ResultsParser.java:121)
at org.apache.solr.client.impl.SolrClientImpl.query(SolrClientImpl.java:396)
at solarqueryservlet.processRequest(solarqueryservlet.java:139) at
solarqueryservlet.doPost(solarqueryservlet.java:43) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)


Yonik Seeley wrote:
> 
> On Tue, Mar 18, 2008 at 12:58 PM, Tejaswi_Haramurali
> <tejaswi.h@gmail.com> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-with-Facetting-%21-tp16125687p16126128.html
Sent from the Solr - Dev mailing list archive at Nabble.com.


Mime
View raw message