lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: read more tokens during analysis
Date Wed, 10 Feb 2010 14:35:42 GMT

On Feb 10, 2010, at 8:33 AM, Rohit Banga wrote:

> basically i want to use my own filter wrapping around a standard analyzer.
> 
> the kind explained on page 166 of Lucene in Action, uses input.next() which
> is perhaps not available in lucene 3.0
> 
> what is the substitute method.

captureState() and restoreState() are the new versions in 3.0.  There are several examples
of how they work in contrib/analyzers.



--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem using Solr/Lucene: http://www.lucidimagination.com/search


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message