|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expert: returns a comparator for sorting ScoreDocs.
Created: Apr 21, 2004 3:49:28 PM
Method Summary | |
ScoreDocComparator |
newComparator(IndexReader reader,
java.lang.String fieldname)
Creates a comparator for the field in the given index. |
Method Detail |
public ScoreDocComparator newComparator(IndexReader reader, java.lang.String fieldname) throws java.io.IOException
reader
- Index to create comparator for.fieldname
- Field to create comparator for.
java.io.IOException
- If an error occurs reading the index.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |