|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IssueSortComparator
A means of comparing two issue 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(Issue issue1,
Issue issue2)
Compare 2 issues. |
Issue |
getIssueFromDocument(org.apache.lucene.document.Document document)
Get an Issue object from a Lucene Document |
Method Detail |
---|
int compare(Issue issue1, Issue issue2)
issue1
- First Issueissue2
- Second Issue
Issue getIssueFromDocument(org.apache.lucene.document.Document document)
document
- A lucene document, that must be an Issue document
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |