Re: Handling Synonyms

2005-02-21 Thread David Spencer
Luke Shannon wrote: Hello; Does anyone see a problem with the following approach? No, no problem with it and it's in fact what my "Wordnet Query Expansion" sandbox module does. The nice thing about Lucene is you at least have the option of doing things the other way - you can write a custom Anal

Handling Synonyms

2005-02-21 Thread Luke Shannon
Hello; Does anyone see a problem with the following approach? For synonyms, rather than putting them in the index, I put the original term and all the synonyms in the query. Every time I create a query, I check if the term has any synonyms. If it does, I create Boolean Query OR'ing one Query obj