On 26/02/2013 12:29, Paul Taylor wrote:
This code worked in 3.6 but now throws nullpointer exception in 41, Im
not expecting there to be a token created, but surely it shouldn't
throw NullPointerException
Tokenizer tokenizer = new
org.apache.lucene.analysis.standard.StandardTokenizer(Version.LUCENE_41,
new StringReader("!!!"));
tokenizer.incrementToken();
Same problem, need to do tokenizer.reset() befoe incrementToken()
(Although sometimes works without)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org