public class Hit extends Hit
| Modifier and Type | Field and Description |
|---|---|
Barrel |
barrel
The Barrel containing this Hit.
|
long |
uid
The unique ID of the document that is a Hit in a
barrel. |
| Constructor and Description |
|---|
Hit(Hit hit)
Constructor for the Hit object
|
Hit(long uid,
Barrel barrel,
int sim)
Constructor for the Hit object.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentData |
getMeta()
Return the metadata of the document that constitutes this Hit.
|
boolean |
lessThan(Hit with)
Compare this Hit with the given Hit.
|
public transient long uid
barrel.public transient Barrel barrel
public Hit(long uid,
Barrel barrel,
int sim)
uid - the unique ID of the hit documentbarrel - the Barrel containing the documentsim - the calculated similarity of the hitpublic Hit(Hit hit)
hit - Description of the Parameterpublic DocumentData getMeta()
public boolean lessThan(Hit with)
with - the Hit to compare with this oneCopyright © 2016 Egothor. All Rights Reserved.