public class TextQueryMapper extends Object implements LuceneQueryMapper<TextQuery>
TextQuery
into Query
.Constructor and Description |
---|
TextQueryMapper() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(TextQuery searchQuery)
Convert a SearchQuery into a lucene query.
|
void |
setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory) |
public org.apache.lucene.search.Query convertToLuceneQuery(TextQuery searchQuery)
LuceneQueryMapper
convertToLuceneQuery
in interface LuceneQueryMapper<TextQuery>
searchQuery
- the query to convertpublic void setLuceneQueryParserFactory(LuceneQueryParserFactory luceneQueryParserFactory)
Copyright © 2003–2015 Atlassian. All rights reserved.