Hi Itamar,

On 01/31/2008 at 6:28 PM, Itamar Syn-Hershko wrote:
> Since Analyzer is set per IndexWriter, which is being added a Document,
> which has several fields, I was wondering how would I store 2 different
> fields in a Document, each being passed through a different Analyzer?
> The idea is to have 2 fields of the same content, one stemmed and one is
> not, both are tokenized and not stored. The rationale is Hebrew indexing
> (yes, again :) ).

Take a look at PerFieldAnalyzerWrapper:

<http://lucene.apache.org/java/1_4_3/api/org/apache/lucene/analysis/PerFieldAnalyzerWrapper.html>

Steve

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

Reply via email to