Re: Use two Analyzers in Lucene

2006-04-02 Thread Daniel Noll
Kostas V. wrote: I have the Analyzers for both languages (they do stemming as well) but I don't know how to use them together. I imagine that I have to do two passes for each paper ?? or this is not correct? The following line is how I use my English Analyzer IndexWriter writer = new IndexWrite

Use two Analyzers in Lucene

2006-04-02 Thread Kostas V.
Hello, I'm new to Java and in Lucene as well and I have a little problem. I have to index and search with Lucene some papers that are written both in English and Greek. When I say both I mean that in the same txt there are both Greek na d English words. I have the Analyzers for both languages (the