lux.index.analysis
Class WildcardAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
lux.index.analysis.WildcardAnalyzer
- All Implemented Interfaces:
- Closeable
public class WildcardAnalyzer
- extends org.apache.lucene.analysis.Analyzer
Used by the XML query parser to handle wildcarded terms.
TODO: replace with something more general based on the existing analysis chain
like Solr does with MultiTermAware components when we upgrade to 3.6/4.x. In NodeQueryBuilder,
we have the main Analyzer; this should have a ctor: WildcardAnalyzer(Analyzer base) ...
| Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer |
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
| Methods inherited from class org.apache.lucene.analysis.Analyzer |
close, getOffsetGap, getPositionIncrementGap, initReader, tokenStream |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WildcardAnalyzer
public WildcardAnalyzer()
createComponents
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName,
Reader aReader)
- Specified by:
createComponents in class org.apache.lucene.analysis.Analyzer
Copyright © 2013. All Rights Reserved.