lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ziv Gome" <zg...@entopia.com>
Subject RE: Synonyms ...
Date Tue, 09 May 2006 08:34:34 GMT
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:
http://mail-archives.apache.org/mod_mbox/lucene-java-user/200603.mbox/%3
c39B0FB508E5D7540ACA5AD57225E150D39203D@xmail.me.corp.entopia.com%3e
 

BTW, for reply please use ziv.gome_gmail_com (replace "_" where
appropriate)

Ziv Gome

-----Original Message-----
From: Dragon Fly [mailto:dragon-fly999@hotmail.com] 
Sent: Friday, April 21, 2006 8:49 PM
To: java-user@lucene.apache.org
Subject: Synonyms ...

Hi,

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"

Synonym rules:
  (1) CZECH REPUBLIC --> CZE
  (2) CZE --> CZECH REPUBLIC
  (3) ORGANIZATION --> ORG, ORGANISATION

All of the following phrase searches must match BOTH documents:
  "CZECH REPUBLIC ORGANIZATION"
  "CZECH REPUBLIC ORGANISATION"
  "CZECH REPUBLIC ORG"
  "CZE ORGANIZATION"
  "CZE ORGANISATION"
  "CZE ORG"

I don't think the SynonymAnalyzer described in LIA would work because
some of my "synonyms" contain multiple words.  Thank you.

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message