Class ConfluenceLuceneQueryParserFactory
java.lang.Object
com.atlassian.confluence.impl.search.v2.lucene.ConfluenceLuceneQueryParserFactory
- All Implemented Interfaces:
LuceneQueryParserFactory
-
Constructor Summary
ConstructorDescriptionConfluenceLuceneQueryParserFactory
(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer) ConfluenceLuceneQueryParserFactory
(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.queryparser.flexible.standard.StandardQueryParser
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
createQueryParser
(Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders) Create an analyzer that uses a fieldAnalyzerDescriptorProvider
specified binanalyzerProviders
.
-
Constructor Details
-
ConfluenceLuceneQueryParserFactory
public ConfluenceLuceneQueryParserFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer) -
ConfluenceLuceneQueryParserFactory
public ConfluenceLuceneQueryParserFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider)
-
-
Method Details
-
createQueryParser
public org.apache.lucene.queryparser.flexible.standard.StandardQueryParser createQueryParser()- Specified by:
createQueryParser
in interfaceLuceneQueryParserFactory
-
createQueryParser
public org.apache.lucene.queryparser.flexible.standard.StandardQueryParser createQueryParser(Map<String, ? extends AnalyzerDescriptorProvider> analyzerProviders) Description copied from interface:LuceneQueryParserFactory
Create an analyzer that uses a fieldAnalyzerDescriptorProvider
specified binanalyzerProviders
.- Specified by:
createQueryParser
in interfaceLuceneQueryParserFactory
-