On Jun 28, 2005, at 3:37 PM, Chris D wrote:
Lastly, and someone should correct me if I'm wrong, but you should
always use the same analyzer to create and to query the index.
Otherwise queries that should return hits wont. For instance the
following.

   The canoist paddles

Could be indexed as [boater] [strokes]... And the query

   contents:paddles

would be parsed to [paddle] and likely would not get the hit you expect.

Whether you use the *same* analyzer or not is a great question. In most cases, yes, you should. But the more correct answer is that you need to use compatible analyzers.

For example:
If you're injecting synonyms during indexing, there is no need to inject them during query parsing. In that case, the analyzers would do the same processing steps except the indexing one would also inject synonyms.

    Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to