Re: Synonyms and Ranking

2008-01-03 Thread Michael Stoppelman
Hi all, Would this approach be recommended for stemmed words as well. For example let say the original word is 'mower', I want matches on 'mow', 'mowing' and 'mowers' but the most relevance would obviously be matches for 'mower'. Should I index my documents unstemmed and then stem at the query wor

Re: Synonyms and Ranking

2007-12-28 Thread Grant Ingersoll
Yes, the Payload stuff should work for this, but you will have to set it up during indexing. The simpler approach is probably a separate field for synonyms, but this means analyzing the same content twice (or trying out the TeeTokenFilter, but this is advanced usage at this point, since it

Re: Synonyms and Ranking

2007-12-28 Thread Frank Schima
Hi Grant, Grant Ingersoll-6 wrote: > > You can use the payload functionality (have a look at > BoostingTermQuery and Michael B. excellent ApacheCon talk at > http://people.apache.org/~buschmi/apachecon/). Other option is to put > the synonyms into a separate field and boost that less than

Re: Synonyms and Ranking

2007-12-27 Thread Grant Ingersoll
You can use the payload functionality (have a look at BoostingTermQuery and Michael B. excellent ApacheCon talk at http://people.apache.org/~buschmi/apachecon/). Other option is to put the synonyms into a separate field and boost that less than the main field. -Grant On Dec 27, 2007, at 4