Re: Stopwords when facetting

2009-07-07 Thread Chris Hostetter

: When indexing or querying text, i'm using the solr.StopFilterFactory ; it 
seems to works just fine...
: 
: But I want to use the text field as a facet, and get all the commonly 
: used words in a set of results, without the stopwords. As far as I 
: tried, I always get stopwords, and numerical terms, that pollute my 
: facets results. How can I perform this ?

perhaps you have the same problem as described here...

http://www.nabble.com/facets-and-stopwords-to23952823.html#a24379679


...it's hard to be certain without any actual concrete examples (what does 
your schema.xml look like, what are you stopwords, what terms are still 
showing up in your facet list even though they are stop words, what 
documents contain those terms (the raw parser can help you find them...

q={!raw field=yourFieldName}wordYouDoNotExpect




-Hoss



Re: Stopwords when facetting

2009-07-03 Thread Erik Hatcher
Pierre - the field you're faceting must not have the StopFilter  
applied at indexing time, or the words you want removed aren't in the  
stop word list file.


Erik

On Jul 3, 2009, at 5:21 AM, Pierre-Yves LANDRON wrote:



Hello,

When indexing or querying text, i'm using the  
solr.StopFilterFactory ; it seems to works just fine...


But I want to use the text field as a facet, and get all the  
commonly used words in a set of results, without the stopwords. As  
far as I tried, I always get stopwords, and numerical terms, that  
pollute my facets results. How can I perform this ?


Thanks,
Pierre

_
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx




Stopwords when facetting

2009-07-03 Thread Pierre-Yves LANDRON

Hello,

When indexing or querying text, i'm using the solr.StopFilterFactory ; it seems 
to works just fine...

But I want to use the text field as a facet, and get all the commonly used 
words in a set of results, without the stopwords. As far as I tried, I always 
get stopwords, and numerical terms, that pollute my facets results. How can I 
perform this ?

Thanks,
Pierre

_
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.

http://www.microsoft.com/windows/windowslive/products/photos.aspx