Hello i want to implement my custom filter, my wuestion is quite simple but i cannot find a solution to it no matter how i try: How can i access the TermAttribute of the next token than the one i currently have in my stream? For example in the phrase "My name is James Bond" if let's say i am in the token [My], i would like to be able to check the TermAttribute of the following token [name] and fix my position increment accordingly. Thank you in advance! --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org