FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. yves
    3. Best
    Y
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by yves

    • ElasticSearch reindex doesn't reindex all documents

      I've got a question regarding the reindexing of the ElasticSearch fusionauth_user index.

      When we perform a reindex it seems that some users/documents get "lost".

      Some observations:

      • We've enabled debugging on ElasticSearch and don't see any errors being thrown when the index is dropped and recreated.
      • The query that fails afterwards is a "nested" search for a particular registration users have.
      • When we PATCH or lock/unlock users then they appear in the ElasticSearch index again and the query succeeds.

      What happens when the reindex is performed? I'm struggling to understand why or how this could happen because I assumed all users/documents are inserted in the new index again?

      Right now our workaround is to PATCH all users so that we can be sure that they're in the index.

      Any ideas? Pointers?

      posted in Comments & Feedback
      Y
      yves