Skip to main content
Version: latest

agrag.common.data_models.evidence.DiscoveryStatus

Bases: StrEnum

The overall outcome of a discovery call.

Attributes:

  • OK – Every leg ran and returned hits.
  • PARTIAL – At least one leg failed, and the other leg returned hits. Read DiscoveryResult.failures before treating the list as complete.
  • NO_MATCH – Every leg ran and no visible passage matched.
  • EMPTY_SCOPE – The scope named no documents, so nothing was searched.
  • INDEX_NOT_READY – A search index the mode needs is missing or not ONLINE.
  • FAILED – Every leg that ran failed.

EMPTY_SCOPE​

EMPTY_SCOPE = 'empty_scope'

FAILED​

FAILED = 'failed'

INDEX_NOT_READY​

INDEX_NOT_READY = 'index_not_ready'

NO_MATCH​

NO_MATCH = 'no_match'

OK​

OK = 'ok'

PARTIAL​

PARTIAL = 'partial'