Class ConfluenceLuceneQueryParserFactory
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.lucene.ConfluenceLuceneQueryParserFactory
-
- All Implemented Interfaces:
LuceneQueryParserFactory
public class ConfluenceLuceneQueryParserFactory extends Object implements LuceneQueryParserFactory
-
-
Constructor Summary
Constructors Constructor Description ConfluenceLuceneQueryParserFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer)
ConfluenceLuceneQueryParserFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, org.apache.lucene.analysis.Analyzer unstemmedAnalyzer, LuceneAnalyzerMapper luceneAnalyzerMapper, SearchLanguageProvider searchLanguageProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
createQueryParser()
org.apache.lucene.queryparser.flexible.standard.StandardQueryParser
createQueryParser(Map<String,? extends AnalyzerDescriptorProvider> analyzerProviders)
Create an analyzer that uses a fieldAnalyzerDescriptorProvider
specified binanalyzerProviders
.
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-