lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkateswarlu Bommineni <bvr...@gmail.com>
Subject Solr response with original value
Date Tue, 31 Oct 2017 11:15:42 GMT
Hello Team,

Please suggest how to achieve below scenario.

I have a field '*productSuggestion*' , below is the configuration.

<field name="productSuggestion" type="product_auto" indexed="true"
stored="true" multiValued="false" />

<fieldType name="product_auto" class="solr.TextField">
<analyzer type="index">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>

when i use above field in facets i am getting only indexed values (lower
case values ) , but i need original value.

Example : Original String : Life is Beautiful
when i search for 'life' as facet prefix it is giving me the result 'life
is beautiful'

Could you please suggest a way to return original value instead of indexed
value ?

Thanks,
Venkat.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message