Hit()
This is the constructor method to create a Hit object.
Invocation
Hit(hit)
Return
A Hit object.
Attributes
Property | Description |
---|---|
ids | Return the primary keys of the hit results |
distances | Return the distance between the hit record and the query |
score | Return the score of the hit record. The score is set equal to distance. |
str | Return the information of hit record |