Solr
  1. Solr
  2. SOLR-4318

NullPointerException encountered when /select query on solr.TextField.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.3, Trunk
    • Component/s: Build
    • Labels:

      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>

      1. SOLR-4318.patch
        1 kB
        Erick Erickson
      2. SOLR-4138.patch
        4 kB
        Erick Erickson

        Activity

        Junaid Surve created issue -
        Erick Erickson made changes -
        Field Original Value New Value
        Attachment SOLR-4318.patch [ 12565657 ]
        Erick Erickson made changes -
        Assignee Erick Erickson [ erickerickson ]
        Erick Erickson made changes -
        Attachment SOLR-4138.patch [ 12573931 ]
        Erick Erickson made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.3 [ 12324128 ]
        Fix Version/s 5.0 [ 12321664 ]
        Resolution Fixed [ 1 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Erick Erickson
            Reporter:
            Junaid Surve
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development