|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.v2.lucene.DelegatingLuceneSearchMapper
public class DelegatingLuceneSearchMapper
Constructor Summary | |
---|---|
DelegatingLuceneSearchMapper(LuceneSearchMapperRegistry registry)
|
Method Summary | |
---|---|
org.apache.lucene.search.Query |
convertToLuceneQuery(SearchQuery query)
Convert a SearchQuery into a lucene query. |
LuceneResultFilter |
convertToLuceneResultFilter(ResultFilter resultFilter)
|
org.apache.lucene.search.Filter |
convertToLuceneSearchFilter(SearchFilter searchFilter)
Convert a search filter into a lucene search filter. |
org.apache.lucene.search.Sort |
convertToLuceneSort(SearchSort searchSort)
Converts a search sort into a lucene sort. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatingLuceneSearchMapper(LuceneSearchMapperRegistry registry)
Method Detail |
---|
public org.apache.lucene.search.Query convertToLuceneQuery(SearchQuery query)
LuceneQueryMapper
convertToLuceneQuery
in interface LuceneQueryMapper<SearchQuery>
query
- the query to convert
public org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
LuceneSearchMapperRegistry.getSortMapper(String)
.
convertToLuceneSort
in interface LuceneSortMapper
searchSort
- search sort to be converted
LuceneMapperNotFoundException
- if no LuceneSortMapper
could be found via LuceneSearchMapperRegistry.getSortMapper(String)
.public LuceneResultFilter convertToLuceneResultFilter(ResultFilter resultFilter)
convertToLuceneResultFilter
in interface LuceneResultFilterMapper
resultFilter
- result filter to be converted
LuceneMapperNotFoundException
- if no LuceneResultFilterMapper
could be found via LuceneSearchMapperRegistry.getResultFilterMapper(String)
.public org.apache.lucene.search.Filter convertToLuceneSearchFilter(SearchFilter searchFilter)
LuceneSearchFilterMapper
convertToLuceneSearchFilter
in interface LuceneSearchFilterMapper<SearchFilter>
searchFilter
- the search filter to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |