com.transaxtions.search.rankingalgorithm
Class RankingScore
java.lang.Object
com.transaxtions.search.rankingalgorithm.RankingScore
- All Implemented Interfaces:
- java.io.Serializable
public class RankingScore
- extends java.lang.Object
- implements java.io.Serializable
A RankingScore object. Holds the scoring for a document. The most
important attributes would be the score_f object and the document id, docid.
Use RankingHits to get at the score, do not access directly as it
can change.
- Author:
- Nagendra Nagarajayya
- See Also:
RankingQuery,
RankingHits,
Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxTerms
public static final int maxTerms
- See Also:
- Constant Field Values
terms
public int[] terms
pos
public java.util.ArrayList[] pos
numTerms
public int numTerms
freq
public int[] freq
startpos
public int startpos
score
public java.lang.String score
tscore
public int tscore
pscore
public long pscore
pscore1
public long pscore1
fscore
public long fscore
fscore1
public long fscore1
docid
public int docid
relevant
public int relevant
score_f
public double score_f
doc
public org.apache.lucene.document.Document doc
ppositions1
public int[] ppositions1
ppositions1_l
public double ppositions1_l
ppositions2
public int[] ppositions2
ppositions2_l
public double ppositions2_l
occurence
public int[] occurence
occurence_l
public double occurence_l
foc
public double foc
RankingScore
public RankingScore()
compare
public static int compare(java.lang.String s1,
java.lang.String s2)
compare
public static int compare(RankingScore s1,
RankingScore s2)