Package org.apache.lucene.analysis

Examples of org.apache.lucene.analysis.LimitTokenCountFilter


    super.init( args );
    maxTokenCount = Integer.parseInt( args.get( "maxTokenCount" ) );
  }

  public TokenStream create(TokenStream input) {
    return new LimitTokenCountFilter( input, maxTokenCount );
  }
View Full Code Here

TOP

Related Classes of org.apache.lucene.analysis.LimitTokenCountFilter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.