Class UserHistoryFieldComparatorSource

java.lang.Object
org.apache.lucene.search.FieldComparatorSource
com.atlassian.jira.issue.search.parameters.lucene.sort.UserHistoryFieldComparatorSource

@Deprecated(since="10.4", forRemoval=true) public class UserHistoryFieldComparatorSource extends org.apache.lucene.search.FieldComparatorSource
Deprecated, for removal: This API element is subject to removal in a future version.
since 10.4, use ScoreComputedFieldSort instead.
Creates a new comparator that sorts based on UserHistory timestamp

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    final class 
    Deprecated, for removal: This API element is subject to removal in a future version.
    This compares user history timestamps.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UserHistoryFieldComparatorSource

      public UserHistoryFieldComparatorSource(List<UserHistoryItem> history)
      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:
      newComparator in class org.apache.lucene.search.FieldComparatorSource
    • equals

      public boolean equals(Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      hashCode in class Object