com.atlassian.jira.issue.search.parameters.lucene.sort
Class StringSortComparator
java.lang.Object
org.apache.lucene.search.FieldComparatorSource
com.atlassian.jira.issue.search.parameters.lucene.sort.StringSortComparator
- All Implemented Interfaces:
- Serializable
public class StringSortComparator
- extends org.apache.lucene.search.FieldComparatorSource
This supplies a Low Memory variant of Lucene's StringOrdValComparator.
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.
- See Also:
- Serialized Form
Method Summary |
org.apache.lucene.search.FieldComparator |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSortComparator
public StringSortComparator()
newComparator
public org.apache.lucene.search.FieldComparator newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed)
throws IOException
- Specified by:
newComparator
in class org.apache.lucene.search.FieldComparatorSource
- Throws:
IOException
Copyright © 2002-2013 Atlassian. All Rights Reserved.