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

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

Throws:
java.io.IOException

branchId

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

languageId

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

length

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


score

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

Throws:
java.io.IOException


Copyright © -2012 . All Rights Reserved.