lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SOLR-5204) Queries with shards.tolerant=true and stats=true or spellcheck=on do not work
Date Sun, 01 Dec 2013 15:13:37 GMT

     [ https://issues.apache.org/jira/browse/SOLR-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar resolved SOLR-5204.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.7
                   5.0
         Assignee: Shalin Shekhar Mangar

Thanks Anca!

> 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
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-5204.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)

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


Mime
View raw message