Java Code Examples for org.apache.lucene.analysis.core.LowerCaseTokenizer

The following examples show how to use org.apache.lucene.analysis.core.LowerCaseTokenizer. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source Project: Elasticsearch   Source File:    License: Apache License 2.0 4 votes vote down vote up
public Tokenizer create() {
    return new LowerCaseTokenizer();
Example 2
protected TokenStreamComponents createComponents(String s) {
  Tokenizer source = new LowerCaseTokenizer();
  return new TokenStreamComponents(source, new PorterStemFilter(source));
Example 3
protected TokenStreamComponents createComponents(final String fieldName, final Reader reader) {
	final Tokenizer source = new LowerCaseTokenizer(matchVersion, reader);
	return new TokenStreamComponents(source, new ASCIIFoldingFilter(source));