Hi,

I have a field value as bim.ClassUnderlying and a search query as
classunderlying does not return any results. If I search for
classUnderlying, it works.What can I change so that it works for
classunderlying query too? If I change splitOnCaseChange value from 1 to 0
in index time analyzer chain, then it works but I don't want to do it
because I want to extract class and underlying tokens too from
classUnderlying word.

Following is my field type definition.
<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.WordDelimiterGraphFilterFactory" protected="protect.txt"
preserveOriginal="1" generateWordParts="1" generateNumberParts="1"
catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"
/> <filter class="solr.FlattenGraphFilterFactory"/> <filter class=
"solr.LowerCaseFilterFactory"/> <filter class=
"solr.ICUNormalizer2FilterFactory" name="nfkc" mode="compose"/> <filter
class="solr.SynonymGraphFilterFactory" synonyms="synonyms_en.txt" ignoreCase
="true" expand="true"/> <filter class="solr.FlattenGraphFilterFactory"/> <
filter class="solr.KStemFilterFactory"/> <filter class=
"solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> <analyzer type=
"query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class=
"solr.WordDelimiterGraphFilterFactory" protected="protect.txt"
preserveOriginal="1" generateWordParts="1" generateNumberParts="1"
catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"
/> <filter class="solr.LowerCaseFilterFactory"/> <filter class=
"solr.ICUNormalizer2FilterFactory" name="nfkc" mode="compose"/> <filter
class="solr.SynonymGraphFilterFactory" synonyms="synonyms_en_query.txt"
ignoreCase="true" expand="true"/> <filter class="solr.KStemFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> </
fieldType>

Reply via email to