; didn't find in api. And a simple example in docs still used the class.
> And are there
> anthor methods to replace it. Thx!
>
> Harry Yu
--
Chris Male | Open Source Search Developer | elasticsearch |
www.e<http://www.dutchworks.nl>
lasticsearch.com
t; return new TokenStreamComponents(tokenizer, tokenStream);
> }
> }
>
wrapComponents is useful for when you need to change the components
retrieved from the wrapped Analyzer. Adding a new Tokenizer or TokenFilter
for example. But you don't need to do this, and can just return t
fieldname, Reader
> reader) {
> Tokenizer source = ???;
> TokenStream stream = _analyzer.tokenStream(fieldname, reader);
> return new TokenStreamComponents(source, stream);
> }
> }
>
> I must be missing something obvious. Can you tell me what it is?
> Thanks,
&g
nents function that specifies which tokenizer to use with which
> field, though. It looks like the PerFieldAnalyzerWrapper itself assumes
> that the same tokenizer will be used with all fields, as its wrapComponents
> function ignores the fieldname parameter. I would appreciate any help
; use
> > > it?
> > >
> >
> > Where is it deprecated? What does the deprecation message say?
> >
> > --
> > lucidworks.com
> >
> > -
> > To unsubscribe, e-mail: java
>
>
> [X] ASF Mirrors (linked in our release announcements or via the Lucene
> website)
>
> [X] Maven repository (whether you use Maven, Ant+Ivy, Buildr, etc.)
>
> [] I/we build them from source via an SVN/Git checkout.
>
> [] Other (someone in your company mirrors them internally or via a
> downst