lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Klaas <mike.kl...@gmail.com>
Subject Re: Problem with word 'Repository' in facets
Date Thu, 13 Sep 2007 21:42:54 GMT
On 13-Sep-07, at 8:00 AM, Sanjeev Koranga wrote:

> Hi,
>
> I am facing a issue with facet fields.
>  I have one field as category in my schema.xml file and i have  
> mapped it to facet fields. But the problem is, one of the category  
> is "Repository" which is displaying fine in category field but in  
> facet field it is showing "Repositori". y is getting changed to i.  
> I don't know why.
> I tried giving "Repositry", and it showing me "repos".
>
> But working fine with all other words and combinations like  
> "Repositoryy", "Repositorz", "Repositori".

You are faceting on a field that is analyzed with a stemmer  
(PorterFilterStemmer).  If you do not want that behaviour (but want  
it for searchign), use copyField to index in another field that does  
not have unexpected analysis (preferably, none).

-Mike

Mime
View raw message