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

NullPointerException encountered when /select query on solr.TextField.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.3, 6.0
    • Build

    Description

      I have two fields, one is title and the other is description in my Solr schema like -
      Type - <fieldType name="text" class="solr.TextField" positionIncrementGap="100"/>

      Declaration - <field name="description" type="text" indexed="true" stored="true"/>
      without any tokenizer or filter.

      On querying /select?q=description:myText it works. However when I add a '*' it fails.

      Failure scenario -
      /select?q=description:*
      /select?q=description:myText*
      .. etc

      solrconfig.xml -

      <requestHandler name="/select" class="solr.SearchHandler">
      <lst name="defaults">
      <str name="echoParams">explicit</str>
      <int name="rows">10</int>
      <str name="df">title</str>
      </lst>
      </requestHandler>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            erickerickson Erick Erickson
            junaidsurve Junaid Surve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment