public class ConfluenceLuceneQueryParserFactory extends Object implements LuceneQueryParserFactory
Constructor and Description |
---|
ConfluenceLuceneQueryParserFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory,
org.apache.lucene.analysis.Analyzer unstemmedAnalyzer) |
ConfluenceLuceneQueryParserFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory,
org.apache.lucene.analysis.Analyzer unstemmedAnalyzer,
LuceneAnalyzerMapper luceneAnalyzerMapper,
SearchLanguageProvider searchLanguageProvider) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser |
createQueryParser() |
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser |
createQueryParser(Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> analyzerProviders)
Create a analyzer that uses a field
AnalyzerDescriptorProvider specified bin analyzerProviders . |
public ConfluenceLuceneQueryParserFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer)
public ConfluenceLuceneQueryParserFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider)
public org.apache.lucene.queryparser.flexible.standard.StandardQueryParser createQueryParser()
createQueryParser
in interface LuceneQueryParserFactory
public org.apache.lucene.queryparser.flexible.standard.StandardQueryParser createQueryParser(Map<String,? extends com.atlassian.confluence.plugins.index.api.AnalyzerDescriptorProvider> analyzerProviders)
LuceneQueryParserFactory
AnalyzerDescriptorProvider
specified bin analyzerProviders
.createQueryParser
in interface LuceneQueryParserFactory
Copyright © 2003–2019 Atlassian. All rights reserved.