org.outerj.daisy.ftindex
Interface Hits

All Known Implementing Classes:
EmptyHits, LuceneHits

public interface Hits


Method Summary
 long branchId(int n)
           
 long docId(int n)
          Returns the Daisy Document ID for the nth matching document.
 long languageId(int n)
           
 int length()
          Returns the total number of hits available in this set.
 float score(int n)
          Returns the score for the nth document in this set.
 

Method Detail

docId

public long docId(int n)
           throws java.io.IOException
Returns the Daisy Document ID for the nth matching document.

Throws:
java.io.IOException

branchId

public long branchId(int n)
              throws java.io.IOException
Throws:
java.io.IOException

languageId

public long languageId(int n)
                throws java.io.IOException
Throws:
java.io.IOException

length

public int length()
Returns the total number of hits available in this set.


score

public float score(int n)
            throws java.io.IOException
Returns the score for the nth document in this set.

Throws:
java.io.IOException


Copyright © -2005 . All Rights Reserved.