> System.out.println(typeAtt.type());
> ??? And this typeAtt?
> 
> Thanks!
> 

Yes. You can add the other attributes if you want. By the way i forget to 
remove (TermAttribute) and TypeAttribute). You don't need them in 3.0.0.

TermAttribute termAtt = tokenStream.getAttribute(TermAttribute.class);
TypeAttribute typeAtt = tokenStream.getAttribute(TypeAttribute.class);


      

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

Reply via email to