|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.dir.master.index.DefaultTermStats
public class DefaultTermStats
Implementation of TermStats
based on term frequencies within and across documents.
Constructor Summary | |
---|---|
DefaultTermStats()
|
Method Summary | |
---|---|
int |
getDocFrequency()
Returns the document frequency of the terms. |
int |
getFrequency()
Returns the collection frequency of the term. |
void |
setDocFrequency(int docFrequency)
Sets the document frequency of the terms. |
void |
setFrequency(int frequency)
Sets the collection frequency of the term. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultTermStats()
Method Detail |
---|
public int getDocFrequency()
public void setDocFrequency(int docFrequency)
docFrequency
- the document frequency.public int getFrequency()
public void setFrequency(int frequency)
frequency
- the collection frequency.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |