Interface SearchStatus

All Known Implementing Classes:
DefaultSearchStatus

@Committed
@Public
public interface SearchStatus
Represents the status of a FTS query.
Since:
2.3.0
Author:
Simon Baslé, Michael Nitschinger
  • Method Summary

    Modifier and Type Method Description
    long errorCount()
    the number of FTS pindexes queried that gave an error.
    boolean isSuccess()  
    long successCount()
    the number of FTS pindexes queried that successfully answered.
    long totalCount()
    the total number of FTS pindexes that were queried.
  • Method Details

    • totalCount

      long totalCount()
      the total number of FTS pindexes that were queried.
    • successCount

      long successCount()
      the number of FTS pindexes queried that successfully answered.
    • errorCount

      long errorCount()
      the number of FTS pindexes queried that gave an error. If > 0, the SearchQueryResult's SearchQueryResult.errors() method will contain errors.
    • isSuccess

      boolean isSuccess()
      Returns:
      true if all FTS indexes answered successfully.