You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Kishan Parmar <ki...@gmail.com> on 2014/02/13 19:52:27 UTC

facet problem

hi
when i do quering " status:verified "  for my core and adding facet then i
get result but for facet it wrong output as "verifi " not "verified"
why this is happaning ??
any suggestion for this


Regards,

Kishan Parmar
Software Developer
+91 95 100 77394
Jay Shree Krishnaa !!

Re: facet problem

Posted by Kishan Parmar <ki...@gmail.com>.
thanks
for help..
its working

Regards,

Kishan Parmar
Software Developer
+91 95 100 77394
Jay Shree Krishnaa !!



On Fri, Feb 14, 2014 at 12:36 AM, Saumitra Srivastav <
saumitra.srivastav7@gmail.com> wrote:

> Change the type of 'status' field to 'string'. At present it must be
> 'text_en' and hence while indexing its getting tokenized.
>
> After changing the type in schema.xml you will have to re-index the
> documents to see the expected facet response.
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/facet-problem-tp4117246p4117248.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Re: facet problem

Posted by Saumitra Srivastav <sa...@gmail.com>.
Change the type of 'status' field to 'string'. At present it must be
'text_en' and hence while indexing its getting tokenized. 

After changing the type in schema.xml you will have to re-index the
documents to see the expected facet response.



--
View this message in context: http://lucene.472066.n3.nabble.com/facet-problem-tp4117246p4117248.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: facet problem

Posted by Ahmet Arslan <io...@yahoo.com>.
Hi Kishan,

Facets are generated from indexed values. Probably you have stemmer in your analysis chain. Thus 'verified' is indexed as 'verifi'. Remove stemming filter factory from  your field type definition.

Ahmet



On Thursday, February 13, 2014 8:53 PM, Kishan Parmar <ki...@gmail.com> wrote:

hi

when i do quering " status:verified "  for my core and adding facet then i get result but for facet it wrong output as "verifi " not "verified"
why this is happaning ??
any suggestion for this 


Regards,


Kishan Parmar
Software Developer
+91 95 100 77394
Jay Shree Krishnaa !!