Not sure how to specify which analyzer to use when searching. I could not find a search method that would take an analyzer as an argument.
Does Lucene remember which analyzer was used when it was indexed? Thanks, Randy -----Original Message----- From: Otis Gospodnetic [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 4:40 PM To: [EMAIL PROTECTED] Cc: Randy Darling Subject: Re: Multiple languages in same index? This is a lucene-user list question, so I'm moving it there. You could lump them all in the same index and like you say switch to appropriate analyzer when indexing and searching. You could take a peek into Lucene Sandbox (link on Lucene site) and use Snowball stemmers from there. Figuring out which language is being used for searching, or which subset of the index to search would be up to you though. Otis --- Randy Darling <[EMAIL PROTECTED]> wrote: > > Is it ok to index documents that have Chinese, German and English > in the same index? From what I can tell I just need to use a > different > analyzer when I create an IndexWriter. But I do not see a way to > search with an analyzer for a specific language. > > Or do I need to create a separate index for each language? > > > Thanks, > Randy > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
