Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2121

distributed highlighting using q.alt=*:* causes NPE in finishStages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      As noted on the mailing list by Ron Mayer, using the example configs and example data on trunk, this query works...

      http://localhost:8983/solr/select?q.alt=*:*&hl=on&defType=edismax

      ...but this query causes and NullPointerException...

      http://localhost:8983/solr/select?q.alt=*:*&hl=on&defType=edismax&shards=localhost:8983/solr

      Stack Trace...

      java.lang.NullPointerException
      	at org.apache.solr.handler.component.HighlightComponent.finishStage(HighlightComponent.java:158)
      	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:310)
      	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
      	at org.apache.solr.core.SolrCore.execute(SolrCore.java:1324)
      	at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337)
      	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240)
      	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
      
      

      Attachments

        Activity

          People

            koji Koji Sekiguchi
            hossman Chris M. Hostetter
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: