[
https://issues.apache.org/jira/browse/SOLR-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603461#comment-13603461
]
Erick Erickson commented on SOLR-4318:
--------------------------------------
Actually, on a second look I think the original patch is the right thing to do.
There is actually a default tokenizer assigned to a TextField, admittedly it is
rudimentary, but it's still defined. A note in the docs would be good though.
> 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
> Attachments: 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: [email protected]
For additional commands, e-mail: [email protected]