randy, you could use different analyzers over the same index, both indexing and searching. however, your search results will be bunk (that's bad).
you would be better off maintaining separate indexes for each language (analyzer). it might be possible to use 1 index, provided a field was added to each entry that defined the analyzer used on it. you would then search first over the entire index for entries whose analyzer matched the one you are going to use on the input query (and then do your "regular" search over that subset). i.e., it's a pain, better to do it in multiple indexes. -doug > -----Original Message----- > From: Randy Darling [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 28, 2003 4:18 PM > To: [EMAIL PROTECTED] > Subject: Multiple languages in same index? > > > > 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]> >
