Re: Apache Lucene Analysis

2012-10-05 Thread selvakumar netaji
Hi All, In the TokenStreamAPI section of the analysis documentation for lucene 4.0 beta, MyAnalyzer class is defined. They've added the lengthFilter in the create components method. The length filter doesn't accept method with three arguments in 4.0. Should I create a length filter class for th

Re: Apache Lucene Analysis

2012-10-05 Thread selvakumar netaji
Actually I'm getting results if I add it to the tokenStream instance. Can you please inform is it right? Thanks in advance. On Fri, Oct 5, 2012 at 5:02 PM, selvakumar netaji wrote: > Hi All, > > > I'm reading the docs of Apache Lucene. > > I just read through the docs of the analyser > docs/

RE: Highlighter IOOBE with modified HyphenationCompoundWordTokenFilter

2012-10-05 Thread Markus Jelsma
You're right, but it's fixed now. In Solr's analysis page i spotted an incorrect endOffset for some tokens. After correcting the endOffset the error no longer appears. I should more carefully check the offsets emitted. Thanks for your time anyway :) -Original message- > From:Thomas Ma