Class TextFieldQueryMapper
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.mappers.AbstractTextFieldQueryMapper<TextFieldQuery>
-
- com.atlassian.confluence.impl.search.v2.mappers.TextFieldQueryMapper
-
- All Implemented Interfaces:
LuceneQueryMapper<TextFieldQuery>
public class TextFieldQueryMapper extends AbstractTextFieldQueryMapper<TextFieldQuery>
A mapper forTextFieldQuery
s.
-
-
Constructor Summary
Constructors Constructor Description TextFieldQueryMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Query
convertToLuceneQuery(TextFieldQuery textFieldQuery)
Converts the given query into a lucene query.void
setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory)
-
Methods inherited from class com.atlassian.confluence.impl.search.v2.mappers.AbstractTextFieldQueryMapper
tryParse
-
-
-
-
Method Detail
-
convertToLuceneQuery
public org.apache.lucene.search.Query convertToLuceneQuery(TextFieldQuery textFieldQuery)
Converts the given query into a lucene query.- Parameters:
textFieldQuery
- a TextFieldQuery instance.- Returns:
- a Lucene specific version of the TextFieldQuery supplied.
- Throws:
IllegalArgumentException
- if the query cannot be successfully parsed byQueryParser
-
setLuceneQueryParserFactory
public void setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory)
-
-