Save This Page
Home » lucene-2.3.2-src » org.apache » lucene » analysis » payloads » [javadoc | source]
org.apache.lucene.analysis.payloads
public class: TypeAsPayloadTokenFilter [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.TokenStream
      org.apache.lucene.analysis.TokenFilter
         org.apache.lucene.analysis.payloads.TypeAsPayloadTokenFilter
Makes the org.apache.lucene.analysis.Token#type() a payload. Encodes the type using String#getBytes(String) with "UTF-8" as the encoding
Fields inherited from org.apache.lucene.analysis.TokenFilter:
input
Constructor:
 public TypeAsPayloadTokenFilter(TokenStream input) 
Method from org.apache.lucene.analysis.payloads.TypeAsPayloadTokenFilter Summary:
next
Methods from org.apache.lucene.analysis.TokenFilter:
close
Methods from org.apache.lucene.analysis.TokenStream:
close,   next,   next,   reset
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.payloads.TypeAsPayloadTokenFilter Detail:
 public Token next(Token result) throws IOException