[pylucene-dev] language dependent analyzer

Helmut Jarausch jarausch at igpm.rwth-aachen.de
Mon Dec 10 04:07:15 PST 2007


Hi,

sorry, but I need some more help.

I'm trying to index our libarary. Each book entry contains the table of
contents (TOC). 'Analyzing' this should be dependent on the language the
book is written in. 
So, I need a customized Analyzer (probably using
PerFieldAnalyzerWrapper)
which 'analyzes' the TOC dependent on the (recorded) language of the
book.

Is there an example of an customized analyzer whose action depends
on the data currently being indexed?

Many thanks for a pointer,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany


More information about the pylucene-dev mailing list