[
https://issues.apache.org/jira/browse/SOLR-6226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex updated SOLR-6226:
-----------------------
Summary: Query "starts with" doesn't work on some fields with same type
(was: Query "starts with" doesn't work on all fields with same type)
> Query "starts with" doesn't work on some fields with same type
> --------------------------------------------------------------
>
> Key: SOLR-6226
> URL: https://issues.apache.org/jira/browse/SOLR-6226
> Project: Solr
> Issue Type: Bug
> Environment: jetty server
> Reporter: Alex
> Fix For: 4.7
>
>
> I've got field type called "text_lcase" (you can find details below)
> <fieldType name="text_lcase" class="solr.TextField"
> positionIncrementGap="100">
> <analyzer type="index">
> <tokenizer class="solr.StandardTokenizerFactory"/>
> <filter class="solr.LowerCaseFilterFactory"/> <!-- lowercases
> everything -->
> </analyzer>
> <analyzer type="query">
> <tokenizer class="solr.StandardTokenizerFactory"/>
> <filter class="solr.LowerCaseFilterFactory"/>
> </analyzer>
> </fieldType>
> So I use this field type for name and email. Before email field had type
> string. I reindexed solr, for some reasons it worked fine for a while but
> stopped working again.
> Example of queries:
> name:John* (works on all fields have got this value or if it starts with this
> value)
> email:[email protected]* ( doesn't work)
> email:[email protected] ( works)
> email:example@hotmail* (doesn't work)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]