jina-ai / executors

internal-only
Apache License 2.0
31 stars 12 forks source link

FaissPostgresIndexer: failed to sync at startup #275

Closed numb3r3 closed 2 years ago

numb3r3 commented 2 years ago

When some documents' embeddings are None, the sync cannot work at startup.

cristianmtr commented 2 years ago

Do you have a minimal example?

numb3r3 commented 2 years ago

For example:

  1. First, start a new index flow a. index 1000 docs b. soft-delete some docs

  2. Then, start a new search flow a. syc with delta only (raise exception)

    • Reason: the soft-deleted documents are also been considered