Hello,

I am migrating from single node Solr to SolrCloud and have run into a problem. 
I have timeAllowed set to 5 minutes and am trying to facet on a string field. 
With grouping enabled and group.truncate set to true, I consistently get the 
following exception as soon as I fire the query. If I disable group.truncate, 
then faceting works fine. If I remove the timeAllowed parameter, then I get the 
expected results even with group.truncate enabled. A single node index (that 
is, no SolrCloud distributed search) works fine.

It looks like a combination of SolrCloud, timeAllowed and group.truncate leads 
to the exception. For reference, I am using Solr 4.8.0

Any ideas? Did I hit a bug and need to open a JIRA issue?

Regards,
Nikhil



SEVERE: java.lang.NullPointerException
        at 
org.apache.lucene.search.TimeLimitingCollector.setNextReader(TimeLimitingCollector.java:158)
        at 
org.apache.lucene.search.MultiCollector.setNextReader(MultiCollector.java:113)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:612)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:297)
        at 
org.apache.solr.search.grouping.CommandHandler.searchWithTimeLimiter(CommandHandler.java:219)
        at 
org.apache.solr.search.grouping.CommandHandler.execute(CommandHandler.java:156)
        at 
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:338)
        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
        at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)

Reply via email to