@Exported
public interface AnalyzerFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
ANALYZER_FACTORY |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyserForQuery(QueryExpression ex)
Returns Analyzer to be used for building a Lucene query from QueryExpression.
|
org.apache.lucene.analysis.Analyzer |
getAnalyzerForIndex()
Returns Analyzer for building the index.
|
org.apache.lucene.analysis.Analyzer |
getAnalyzerForIndexRow(IndexRow row)
Returns an IndexRow specific Analyzer.
|
static final String ANALYZER_FACTORY
org.apache.lucene.analysis.Analyzer getAnalyserForQuery(QueryExpression ex)
ex - QueryExpression to convert.org.apache.lucene.analysis.Analyzer getAnalyzerForIndex()
AnalyzerFactory.getAnalyzerForIndexRow(IndexRow) returns null.org.apache.lucene.analysis.Analyzer getAnalyzerForIndexRow(IndexRow row)
AnalyzerFactory.getAnalyzerForIndex() will be used.row - input data set.