lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Matheis <matheis.ste...@googlemail.com>
Subject Re: Nullpointer Exception in Solr 4.x in DebugComponent when using wildcard in facet value
Date Fri, 03 Jun 2011 09:46:00 GMT
Stefan,

i guess there is a colon missing? &fq=price:[500+TO+*] should do the trick

Regards
Stefan

On Fri, Jun 3, 2011 at 11:42 AM, Stefan Moises <moises@shoptimax.de> wrote:
> Hi,
>
> in Solr 4.x (trunk version of mid may) I have noticed a null pointer
> exception if I activate debugging (debug=true) and use a wildcard to filter
> by facet value, e.g.
> if I have a price field
>
> ..."&debug=true&facet.field=price&fq=price[500+TO+*]"
> I get
>
> SEVERE: java.lang.RuntimeException: java.lang.NullPointerException
>        at
> org.apache.solr.search.QueryParsing.toString(QueryParsing.java:538)
>        at
> org.apache.solr.handler.component.DebugComponent.process(DebugComponent.java:77)
>        at
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:239)
>        at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
>        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1298)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:353)
>        at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:248)
>        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:191)
>        at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:465)
>        at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>        at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>        at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>        at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>        at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>        at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
>        at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>        at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>        at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.NullPointerException
>        at
> org.apache.solr.search.QueryParsing.toString(QueryParsing.java:402)
>        at
> org.apache.solr.search.QueryParsing.toString(QueryParsing.java:535)
>
> This used to work in Solr 1.4 and I was wondering if it's a bug or a new
> feature and if there is a trick to get this working again?
>
> Best regards,
> Stefan
>
>
>

Mime
View raw message