You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/03/15 20:50:14 UTC

[jira] [Resolved] (SOLR-4318) NullPointerException encountered when /select query on solr.TextField.

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

Erick Erickson resolved SOLR-4318.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0
                   4.3

Trunk r: 1457032
4x    r: 1457077

Thanks for reporting this Junaid!
                
> NullPointerException encountered when /select query on solr.TextField.
> ----------------------------------------------------------------------
>
>                 Key: SOLR-4318
>                 URL: https://issues.apache.org/jira/browse/SOLR-4318
>             Project: Solr
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Junaid Surve
>            Assignee: Erick Erickson
>              Labels: query, select
>             Fix For: 4.3, 5.0
>
>         Attachments: SOLR-4138.patch, SOLR-4318.patch
>
>
> 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>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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