|
|||||||||||
| 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,
String fieldname)
Creates a comparator for the field in the given index. |
| Method Detail |
public ScoreDocComparator newComparator(IndexReader reader,
String fieldname)
throws IOException
reader - Index to create comparator for.fieldname - Field to create comparator for.
IOException - If an error occurs reading the index.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||