Karl,

no, you didn't misunderstand. We have to admit that we were not aware of the
possibility to use different analyzers for the documents in an index. It
seems that we were working to close to the examples and did not spend enough
time to RTFM. Thank you for the hint!

Grant,

considering the answer from Karl, it seems that we have to choice to put all
the documents in one index or use an index for each language. You are using
an index for each language. We are currently discussing the pros and cons
for both solutions. Thus we would be very interested to find out about your
reasons to use a separate index for each language.

Thanks again for taking the time to answer our question!

Greeting 

Stefan and Peter

> --- Ursprüngliche Nachricht ---
> Von: karl wettin <[EMAIL PROTECTED]>
> An: java-user@lucene.apache.org
> Betreff: Re: Subject indexing and seraching documents with
> multiple      languages
> Datum: Mon, 08 May 2006 16:10:03 +0200
> 
> On Mon, 2006-05-08 at 16:08 +0200, karl wettin wrote:
> > On Mon, 2006-05-08 at 08:34 -0400, Grant Ingersoll wrote:
> > > This seems to be necessary because the IndexWriter takes an analyzer
> > > as parameter. Thus we can pass the English documents to the
> > > IndexWriter created with the English analyzer and so on. 
> 
> >  public void addDocument(Document doc, Analyzer analyzer)  
> 
> hmm, perhaps i missunderstood?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to