Known Indirect Subclasses
AllQueryMapper,
AttachmentTypeQueryMapper,
BogusQueryMapper,
BooleanQueryMapper,
BoostingQueryMapper,
ContainingContentTypeQueryMapper,
ContentTypeQueryMapper,
ContributorQueryMapper,
CreatorQueryMapper,
CustomContentTypeQueryMapper,
DateRangeQueryMapper,
DelegatingLuceneSearchMapper,
FileExtensionQueryMapper,
HasPersonalSpaceQueryMapper,
InSpaceQueryMapper,
and
11 others.
|
Class Overview
A lucene query mapper represents an object that is able to map from a Confluence SearchQuery
to a Lucene org.apache.lucene.search.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.
Public Methods
public
Query
convertToLuceneQuery
(T searchQuery)
Convert a SearchQuery into a lucene query. So a query that represents a search for any value in a particular index
field should map to null.
Parameters
searchQuery
| the query to convert |
Returns
- the lucene query corresponding to the search query. null can be returned and signifies that no mapped query
is necessary for the mapped query.