com.atlassian.jira.issue.search.parameters.lucene.sort
Interface SortComparator
- All Known Implementing Classes:
- DocumentSortComparator, IssueSortComparator
- public interface SortComparator
A means of comparing two documents in an index, using Lucene. Although implementations of this interface
are free to look up the issue from the database for sorting, this is an order of magnitude slower than
accessing the index directly.
Method Summary |
int |
compare(org.apache.lucene.index.IndexReader indexReader,
int docId,
int docId2)
|
compare
public int compare(org.apache.lucene.index.IndexReader indexReader,
int docId,
int docId2)
Copyright © 2002-2007 Atlassian. All Rights Reserved.