|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.search.TermMetadata
public class TermMetadata
Mutable metadata for the occurrences of a term within a field of some document.
| Constructor Summary | |
|---|---|
TermMetadata()
|
|
| Method Summary | |
|---|---|
void |
add()
Add an occurrence. |
double |
getLocalTermWeight()
The local term weight, which may be computed by a variety of methods. |
void |
setLocalTermWeight(double d)
The local term weight, which may be computed by a variety of methods. |
int |
termFreq()
The term (aka token) frequency count. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TermMetadata()
| Method Detail |
|---|
public int termFreq()
ITermMetadata
termFreq in interface ITermMetadatapublic final double getLocalTermWeight()
ITermMetadata
getLocalTermWeight in interface ITermMetadatapublic final void setLocalTermWeight(double d)
ITermMetadata
setLocalTermWeight in interface ITermMetadatapublic void add()
ITermMetadata
add in interface ITermMetadatapublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||