Why do search results appear incoherent/unexpected?

Last updated 22, Mar 2024

Question

Why do search results appear incoherent/unexpected?

Answer

An indexing operation may be ongoing, such as when the index is created for existing data or when data is massively imported. In this case, search commands are executed on the available data.

Verify the indexing state and percentage:

  • indexing: whether the index is being scanned in the background or not.
  • percent_indexed: progress of background indexing (1 if complete).
  • hash_indexing_failures: number of failures due to operations not compatible with index schema.

References

Learn more about the hash_indexing_failures in the related FT.INFO documentation page.