Re: solr.KeepWordsFilterFactory confusion

2011-02-18 Thread Robert Haschart
Thanks for your response. After making that change it seemed at first like it made no difference, after restarting the jetty server, and reindexing the test object, the display still shows: arr name=format_facet strVideo/str strStreaming Video/str strOnline/str strGooberhead/str

Re: solr.KeepWordsFilterFactory confusion

2011-02-18 Thread Ahmet Arslan
--- On Fri, 2/18/11, Robert Haschart rh...@virginia.edu wrote: From: Robert Haschart rh...@virginia.edu Subject: Re: solr.KeepWordsFilterFactory confusion To: solr-user@lucene.apache.org Date: Friday, February 18, 2011, 10:19 PM Thanks for your response.  After making that change

solr.KeepWordsFilterFactory confusion

2011-02-17 Thread Robert Haschart
I have a solr index where certain facet fields should only contain one or more items from a limited list of values. To enforce this restriction at index time I have been looking at using a KeepWordFilterFactory. It seems it ought to work as I have it implamented, and actually seems to work

Re: solr.KeepWordsFilterFactory confusion

2011-02-17 Thread Ahmet Arslan
I've added a new field type in schema.xml:   fieldType name=formatFacet class=solr.StrField sortMissingLast=true omitNorms=true      analyzer type=index           tokenizer class=solr.KeywordTokenizerFactory/             filter class=solr.KeepWordFilterFactory words=format_facet.txt