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
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
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
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