|
||||||||||
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.mapper.CaseInsensitiveSortMapper
public class CaseInsensitiveSortMapper
Map sorts on a specified field to a case insensitive Lucene sort. The field you choose to sort on must be un-tokenized for the sorting to work as expected.
Constructor Summary | |
---|---|
CaseInsensitiveSortMapper(java.lang.String fieldName)
|
Method Summary | |
---|---|
org.apache.lucene.search.Sort |
convertToLuceneSort(SearchSort searchSort)
Converts a search sort into a lucene sort. |
java.lang.String |
getSortFieldName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaseInsensitiveSortMapper(java.lang.String fieldName)
Method Detail |
---|
public org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
convertToLuceneSort
in interface LuceneSortMapper
public java.lang.String getSortFieldName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |