Hi Xavier,

sounds like a job for KeepWordFilter!

>From the javadocs:
"A TokenFilter that only keeps tokens with text contained in the
required words. This filter behaves like the inverse of StopFilter."

However, you have to provide the wordslist as a .txt-file.

By using copyFields and the KeepWordFilter you are able to achieve what
you want.

Kind regards,
Em

Am 20.02.2012 17:28, schrieb Xavier:
> Hi everyone,
> 
> I'm a new Solr User but i used to work on Endeca.
> 
> There is a modul called "TextTagger" with Endeca that is auto indexing
> values in a facetfield (multivalued) when he find words (from a given
> wordslist) into an other TextField from that document.
> 
> I didn't see any subjects or any ways to do it with Solr ???
> 
> Thanks for advance ;)
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/How-to-index-a-facetfield-by-searching-words-matching-from-another-Textfield-tp3761201p3761201.html
> Sent from the Solr - User mailing list archive at Nabble.com.
> 

Reply via email to