lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selvakumar netaji <vvekselva...@gmail.com>
Subject Re: Apache Lucene Analysis
Date Mon, 08 Oct 2012 13:14:26 GMT
Thanks Mike.

On Mon, Oct 8, 2012 at 4:30 PM, Michael McCandless <
lucene@mikemccandless.com> wrote:

> On Fri, Oct 5, 2012 at 10:24 AM, selvakumar netaji
> <vvekselva.gm@gmail.com> wrote:
> > 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.
>
> Looks like it's missing the first required boolean argument
> enablePositionIncrements; I'll fix the javadocs.  Thanks for raising
> this!
>
> > Should I create a
> > length filter class for this tutorial, but the ambiguity is there's a
> > length filter defined in the analysis package.
>
> You should be able to just use the existing one (passing true or false
> for the first arg) ...
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message