|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hrstc.lucene.queryexpansion.QueryBoostComparator
public class QueryBoostComparator
| Constructor Summary | |
|---|---|
QueryBoostComparator()
Creates a new instance of QueryBoostComparator |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2)
Compares queries based on their boost Since want to be sorted in decending order; comparison will be reversed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public QueryBoostComparator()
| Method Detail |
|---|
public int compare(java.lang.Object obj1,
java.lang.Object obj2)
compare in interface java.util.Comparator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||