You are free to take a look at the thread about synonym query from mars,
initiated by Andrew Schetinin and myself. This code (suggestion) tries
to handle synonym as a query expansion, rather than injection at
indexing time, while fix the problems a simple expansion creates (mainly
results of IDF).
Full details can be found at:
<a href="http://mail-archives.apache.org/mod_mbox/lucene-java-user/200603.mbox/%3">http://mail-archives.apache.org/mod_mbox/lucene-java-user/200603.mbox/%3 [hidden email]%3e
BTW, for reply please use ziv.gome_gmail_com (replace "_" where
From: Dragon Fly [mailto:[hidden email]]
Sent: Friday, April 21, 2006 8:49 PM
To: [hidden email] Subject: Synonyms ...
What is the best way to implement the following?
Document 1 contains the following text:
"THE CZECH REPUBLIC ORGANIZATION"
Document 2 contains the following text:
"THE CZE ORGANISATION"