public class TextFieldQueryMapper extends AbstractTextFieldQueryMapper<TextFieldQuery>
TextFieldQuery
s.Constructor and Description |
---|
TextFieldQueryMapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(TextFieldQuery textFieldQuery)
Converts the given query into a lucene query.
|
void |
setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory) |
tryParse
public org.apache.lucene.search.Query convertToLuceneQuery(TextFieldQuery textFieldQuery)
textFieldQuery
- a TextFieldQuery instance.IllegalArgumentException
- if the query cannot be successfully parsed by QueryParser
public void setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory)
Copyright © 2003–2021 Atlassian. All rights reserved.