Interface SearchResultIF

All Known Implementing Classes:
LuceneSearchResult, RDBMSSearchResult

public interface SearchResultIF
INTERNAL: A search result containing a list of ranked hits.

  • Method Summary

    Modifier and Type
    Method
    Description
    getDocument(int hit)
    INTERNAL: Returns the document located at the given index.
    float
    getScore(int hit)
    INTERNAL: Returns the score of the document located at the given index.
    int
    INTERNAL: Returns the number of hits (documents) in the search result.
  • Method Details

    • getDocument

      DocumentIF getDocument(int hit) throws IOException
      INTERNAL: Returns the document located at the given index.
      Throws:
      IOException
    • getScore

      float getScore(int hit) throws IOException
      INTERNAL: Returns the score of the document located at the given index.
      Throws:
      IOException
    • hits

      int hits() throws IOException
      INTERNAL: Returns the number of hits (documents) in the search result.
      Throws:
      IOException