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:19 PM, Frank Schima wrote:
Happy festivus everyone,
So I have my fancy new stemmed synonym based Lucene index. Let's say
I have
the following synonym defined:
radiation -> radiotherapy (and the reverse)
The search results rank all results exactly the same. Is there a way
to
Boost the actual search term a little higher than the synonym(s)?
TIA,
Frank
--
View this message in context:
http://www.nabble.com/Synonyms-and-Ranking-tp14518753p14518753.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------
Grant Ingersoll
http://lucene.grantingersoll.com
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]