|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.core.Hit
public class Hit
Class Hit represents a hit of a query.
Field Summary | |
---|---|
int |
sim
Similarity that was calculated for the given query and this hit. |
Constructor Summary | |
---|---|
Hit(DocumentData meta,
int sim)
Constructor for the Hit object. |
Method Summary | |
---|---|
DocumentData |
getMeta()
Return the metadata of the document that is represented by this hit. |
void |
setMeta(DocumentData meta)
Sets the meta attribute of the Hit object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int sim
Constructor Detail |
---|
public Hit(DocumentData meta, int sim)
meta
- metadata of the document that is represented by the hitsim
- calculated similarityMethod Detail |
---|
public void setMeta(DocumentData meta)
meta
- the new metadatapublic DocumentData getMeta()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |