Using custom lucene analyzer

What is the best way to use custom lucene analyzer. The default LuceneSimpleAnalyzer is inadequate for parsing Japanese sentences and I want to replace it. Is there a recommened way to do this?

hozawa's picture
190283
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

2 Answers:

Seems like the analyzer is hardcoded in LuceneUtil class. Will just modify this class for now but it would be better if I can specify the analyzer in properties file.

hozawa's picture
190283
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago

Please log a tracker item to make the analyzer configurable.

Thank you,

Lucian

lucianc's picture
86833
Joined: Jul 17 2006 - 1:10am
Last seen: 2 hours 13 min ago
Feedback
randomness