Package com.atlassian.jira.search.lucene
Class LuceneSortMapper
java.lang.Object
com.atlassian.jira.search.lucene.LuceneSortMapper
Deprecated, for removal: This API element is subject to removal in a future version.
Will be removed when we stop supporting Lucene.
Converts search API sort clauses into Lucene sorts.
-
Constructor Summary
ConstructorsConstructorDescriptionLuceneSortMapper(Schema schema) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.SortFieldmapSortToLucene(FieldSort sort) Deprecated, for removal: This API element is subject to removal in a future version.Converts a single search API sort clause to a Lucene sort.org.apache.lucene.search.SortmapSortToLucene(QuerySort sort) Deprecated, for removal: This API element is subject to removal in a future version.Converts all the search API sort clauses of a query to a Lucene sort.
-
Constructor Details
-
LuceneSortMapper
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
mapSortToLucene
Deprecated, for removal: This API element is subject to removal in a future version.Converts all the search API sort clauses of a query to a Lucene sort.- Parameters:
sort- The search API query sort clauses.- Returns:
- The equivalent Lucene sort.
-
mapSortToLucene
Deprecated, for removal: This API element is subject to removal in a future version.Converts a single search API sort clause to a Lucene sort.- Parameters:
sort- A single search API sort clause.- Returns:
- The equivalent Lucene sort.
-