content depending Analyzing

2007-12-10 Thread Helmut Jarausch
Hi, I'm new to Lucene. I've seen similar questions to mine but didn't get an answer to my question: I'd like to index books from our library. Among other field there are LANG which contains a code specifying the language the book is written in TOC the table of contents When indexing

Re: content depending Analyzing

2007-12-10 Thread Daniel Naber
On Montag, 10. Dezember 2007, Helmut Jarausch wrote: an Analyzer implements a 'TokenStream(String fieldName, Reader reader) But for me that's too late. When tokenizing the TOC field I would need access to the LANG field to decide how to tokenize. IndexWriter contains an addDocument() call