Thanks for the reply.

Can u please tell me how to use copy field to return original values in the
query.

On 31 Oct 2017 5:29 pm, "Emir Arnautović" <emir.arnauto...@sematext.com>
wrote:

> Hi Venkat,
> If you need this field for searching, then you need to use copyfield to
> copy this to some other filed of type string that will be used for faceting:
>
> <copyField source=“productSuggestion" dest="productSuggestion_faceting" />
> <field name=“productSuggestion_faceting” type=“string” indexed=“false"
> stored="false" />
>
> HTH,
> Emir
> --
> Monitoring - Log Management - Alerting - Anomaly Detection
> Solr & Elasticsearch Consulting Support Training - http://sematext.com/
>
>
>
> > On 31 Oct 2017, at 12:15, Venkateswarlu Bommineni <bvr...@gmail.com>
> wrote:
> >
> > 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.
>
>

Reply via email to