FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Any way to modify the elasticsearch index?

    Scheduled Pinned Locked Moved
    Q&A
    configuration docker elasticsearch
    1
    2
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by dan

      Is there any way to configure the Elastic Search index through the API or by altering environment variables or mounting a config via volume in docker?

      I try to achieve autocomplete-suggestions based on a search query over multiple user-fields. The only solution seems to be to create separate mappings in the elasticsearch index.

      I could probably update indexes directly in elasticsearch from my app with PUT, but what happens when I press REINDEX in fusionauth?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        When you re-index, we delete our named index and rebuild it.

        You would probably be better off creating your own index.

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post