Class WildcardTextFieldQueryMapper
- java.lang.Object
-
- com.atlassian.confluence.impl.search.v2.mappers.WildcardTextFieldQueryMapper
-
- All Implemented Interfaces:
LuceneQueryMapper<WildcardTextFieldQuery>
@Internal public class WildcardTextFieldQueryMapper extends Object implements LuceneQueryMapper<WildcardTextFieldQuery>
-
-
Constructor Summary
Constructors Constructor Description WildcardTextFieldQueryMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Query
convertToLuceneQuery(WildcardTextFieldQuery textFieldQuery)
Converts the given query into a lucene query.void
setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory)
-
-
-
Method Detail
-
convertToLuceneQuery
public org.apache.lucene.search.Query convertToLuceneQuery(WildcardTextFieldQuery textFieldQuery)
Converts the given query into a lucene query.- Specified by:
convertToLuceneQuery
in interfaceLuceneQueryMapper<WildcardTextFieldQuery>
- 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)
-
-