Hi Ravish,

You may want to think about the synonym dictionary as being a tool on the side, 
rather than each indexed document having a copy of the synonyms. At indexing 
time, one might normalize synonyms to a single value, and at query time do the 
same to get the match.

Alternately, use the synonym dictionary at run-time to expand a
user's query terms, like a thesaurus.

That said, I'm new to the tool, and not clear on how synonyms are implemented.

Jon
=====================
From: Ravish Bhagdev <[EMAIL PROTECTED]>
Date: 2008/01/25 Fri AM 08:24:33 CST
To: solr-user@lucene.apache.org
Subject: Is it possible to add synonyms run time?

As I understood from available documentation, synonyms need to be
defined before starting the indexing process.  Is it possible to add
synonyms at run time such that all index fields of all documents get
updated?  Does it work for newly added documents atleast?

Also, how to make each user of application define his own set of
synonyms that others should be oblivious to (others get normal results
without synon considered)

Thanks,
Ravish

Reply via email to