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