lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harish Agarwal <harish.agar...@gmail.com>
Subject Stats Filter Exclusion Throwing Error
Date Thu, 27 Mar 2014 20:34:47 GMT
I'm using the latest nightly build of 4.8 and testing this patch:

https://issues.apache.org/jira/browse/SOLR-3177

using this set of fq / stats.field query params:

fq={!tag=INTEGER_4}INTEGER_4:(2)&stats.field={!ex=INTEGER_4}INTEGER_4

with Solr throwing the following error:

ERROR - 2014-03-27 16:13:12.164; org.apache.solr.common.SolrException;
org.apache.solr.common.SolrException: undefined field:
"{!ex=INTEGER_4}INTEGER_4"

at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1172)

at
org.apache.solr.handler.component.StatsInfo.parse(StatsComponent.java:190)

at
org.apache.solr.handler.component.StatsComponent.modifyRequest(StatsComponent.java:97)

at
org.apache.solr.handler.component.ResponseBuilder.addRequest(ResponseBuilder.java:147)

at
org.apache.solr.handler.component.QueryComponent.createMainQuery(QueryComponent.java:816)

at
org.apache.solr.handler.component.QueryComponent.regularDistributedProcess(QueryComponent.java:649)

at
org.apache.solr.handler.component.QueryComponent.distributedProcess(QueryComponent.java:602)

at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:253)

at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)

at org.apache.solr.core.SolrCore.execute(SolrCore.java:1939)

at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:780)

at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)

at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:217)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1805)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:724)



Have I got the syntax wrong?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message