com.bigdata.search
Interface IHit<V extends Comparable<V>>

Type Parameters:
V - The generic type of the document identifier.
All Known Implementing Classes:
Hit

public interface IHit<V extends Comparable<V>>

Metadata about a search result.

Version:
$Id: IHit.java 4967 2011-07-25 16:30:21Z mrpersonick $
Author:
Bryan Thompson

Method Summary
 double getCosine()
          The computed relevance score.
 V getDocId()
          The document identifier associated with the search result.
 int getRank()
          The rank of this hit within the context of the search.
 

Method Detail

getCosine

double getCosine()
The computed relevance score.


getDocId

V getDocId()
The document identifier associated with the search result.


getRank

int getRank()
The rank of this hit within the context of the search.



Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.