Class LongSortComparatorSource
java.lang.Object
org.apache.lucene.search.FieldComparatorSource
com.atlassian.jira.issue.search.parameters.lucene.sort.LongSortComparatorSource
@Internal
@Deprecated(since="10.7",
forRemoval=true)
public class LongSortComparatorSource
extends org.apache.lucene.search.FieldComparatorSource
Deprecated, for removal: This API element is subject to removal in a future version.
Similar to
StringSortComparatorSource,
this class supplies a Low Memory variant of Lucene's LongComparator.
We have this modified class as we believe that most searches in very large JIRA installations
will return a very small portion of the document index, either because they are over only one of
many projects or they return only open issues, especially on dashboards and in GreenHopper and similar plugins as
well as in general navigator searches.
Internal use only for Lucene. Use NaturalFieldSort instead.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.FieldComparatornewComparator(String fieldname, int numHits, int sortPos, boolean reversed) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
LongSortComparatorSource
public LongSortComparatorSource()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
newComparator
public org.apache.lucene.search.FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
newComparatorin classorg.apache.lucene.search.FieldComparatorSource
-