org.apache.solr.analysis
Class LengthFilter

java.lang.Object
  extended by org.apache.lucene.analysis.TokenStream
      extended by org.apache.lucene.analysis.TokenFilter
          extended by org.apache.solr.analysis.LengthFilter

public final class LengthFilter
extends TokenFilter

Version:
$Id: LengthFilter.java 472574 2006-11-08 18:25:52Z yonik $
Author:
yonik

Field Summary
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
LengthFilter(TokenStream in, int min, int max)
           
 
Method Summary
 Token next()
           
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close
 
Methods inherited from class org.apache.lucene.analysis.TokenStream
next, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthFilter

public LengthFilter(TokenStream in,
                    int min,
                    int max)
Method Detail

next

public final Token next()
                 throws IOException
Overrides:
next in class TokenStream
Throws:
IOException


Copyright © 2006 - 2009 The Apache Software Foundation