org.apache.lucene.analysis.core.LowerCaseTokenizer Java Examples
The following examples show how to use
org.apache.lucene.analysis.core.LowerCaseTokenizer.
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 File: LowerCaseTokenizerFactory.java From Elasticsearch with Apache License 2.0 | 4 votes |
@Override public Tokenizer create() { return new LowerCaseTokenizer(); }
Example #2
Source File: PorterAnalyzer.java From semanticvectors with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override protected TokenStreamComponents createComponents(String s) { Tokenizer source = new LowerCaseTokenizer(); return new TokenStreamComponents(source, new PorterStemFilter(source)); }
Example #3
Source File: LiteralAnalyzer.java From AGDISTIS with GNU Affero General Public License v3.0 | 4 votes |
@Override protected TokenStreamComponents createComponents(final String fieldName, final Reader reader) { final Tokenizer source = new LowerCaseTokenizer(matchVersion, reader); return new TokenStreamComponents(source, new ASCIIFoldingFilter(source)); }