public interface LuceneQueryMapper<T extends SearchQuery>
SearchQuery
to a Lucene Query
.
Implementations of this class will be autowired automatically.
Implementations of this class must use setter injection instead of constructor injector, as only the former is supported at the moment.
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(T searchQuery)
Convert a SearchQuery into a lucene query.
|
org.apache.lucene.search.Query convertToLuceneQuery(T searchQuery)
searchQuery
- the query to convertIllegalArgumentException
- if the search query is null or invalidCopyright © 2003–2017 Atlassian. All rights reserved.