Interface SearchResultIF

All Known Implementing Classes:
AbstractSearchResult

public interface SearchResultIF
PUBLIC: Search result interfaced used by implementations of the SearcherIF interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    PUBLIC: Closes the search result.
    float
    PUBLIC: Gets the score for the current result value;
    PUBLIC: Gets the current result value.
    boolean
    PUBLIC: Moves ahead to the next result.
  • Method Details

    • next

      boolean next()
      PUBLIC: Moves ahead to the next result. Returns true if there were more results.
    • getValue

      Object getValue()
      PUBLIC: Gets the current result value.
    • getScore

      float getScore()
      PUBLIC: Gets the score for the current result value;
    • close

      void close()
      PUBLIC: Closes the search result. This method will be called when done with the search results, so that resources can be released.