lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anca Kopetz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-5204) Queries with shards.tolerant=true and stats=true or spellcheck=on do not work
Date Thu, 29 Aug 2013 13:17:52 GMT
Anca Kopetz created SOLR-5204:
---------------------------------

             Summary: Queries with shards.tolerant=true and stats=true or spellcheck=on do
not work
                 Key: SOLR-5204
                 URL: https://issues.apache.org/jira/browse/SOLR-5204
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.4
            Reporter: Anca Kopetz


In a SolrCloud environment with 2 shards, if one server is down :
* when we execute queries with &shards.tolerant=true&stats=true, a NullPointerException
is thrown

{code} 
java.lang.NullPointerException
    at org.apache.solr.handler.component.StatsComponent.handleResponses(StatsComponent.java:105)
    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:311)
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1904)
    at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:659)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:362)
    at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:158)
    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.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:857)
    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:722)
{code} 

* when we execute queries with &shards.tolerant=true&spellcheck=on, a NullPointerException
is thrown
{code}
2013-08-26 13:51:42,347 [http-8080-8] ERROR org.apache.solr.servlet.SolrDispatchFilter:log:119
 - null:java.lang.NullPointerException
    at org.apache.solr.handler.component.SpellCheckComponent.finishStage(SpellCheckComponent.java:323)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message