I have a type=”text_general” multivalued=”true” field, named fieldA.
When I use a function query, with fields like
fields=if(true, fieldA, -1), fieldA
Response is:
"response":{"numFound":1,"start":0,"maxScore":4.6553917,"docs":[
{
"fieldA":["SomeMixedCaseValue"],
"if(true,fieldA,-1)":"somemixedcasevalue"}]
}}
Is this a bug or an expected output? Is there a way to avoid it getting
lowercased?
Whole field definition is:
<fieldType name="text_general" class="solr.TextField"
positionIncrementGap="100" multiValued="true">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" words="stopwords.txt"
ignoreCase="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" words="stopwords.txt"
ignoreCase="true"/>
<filter class="solr.SynonymGraphFilterFactory" expand="true"
ignoreCase="true" synonyms="synonyms.txt"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<field name="user.screen_name_orig" type="text_general"/>
-ufuk yilmaz
Sent from Mail for Windows 10