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

    Elasticsearch Utilization [Self Hosted - Community Edition]

    Scheduled Pinned Locked Moved
    Q&A
    4
    9
    10.3k
    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.
    • F
      firrae
      last edited by

      Hi there,

      Does FusionAuth use Elasticsearch for anything other than the administration UI? This would help me determine my potential usage and how to best host Elasticsearch for my overall needs (my apps would utilize it as well).

      Thanks!

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

        Hi,

        ElasticSearch is used to provide search functionality in both the admin UI and any APIs using a search endpoint, for example searching for users: https://fusionauth.io/docs/v1/tech/apis/users#search-for-users

        In the near future there will be two search options, one just using the database without Elasticsearch. More details here: https://github.com/FusionAuth/fusionauth-issues/issues/427

        Let me know if that answers your question.

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

        1 Reply Last reply Reply Quote 1
        • F
          firrae
          last edited by firrae

          That would be optimal. I was originally looking at running ManticoreSearch or SphinxSearch since they are generally cheaper to run and have less overhead (I can run a whole search instance for multiple apps on a 1GB VM or less vs. multiple 2 to 8 GB VMs). I don't plan on doing much, if any, extensive user searching and for what I do plan on using it can be done within my application DB and search rather than the FA instance(s).

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

            If you are willing to start with a release candidate, I believe that 1.16.0-RC1 does not require installation of ElasticSearch: https://hub.docker.com/r/fusionauth/fusionauth-app/tags

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

            1 Reply Last reply Reply Quote 0
            • M
              mgetka Power User
              last edited by

              Is elasticsearch index used internally to fulfill requests that implicate some kind of user lookup? I mean, for example, user authentication process where the user must be found based on email/username.

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

                Hiya,

                I'm not sure what you are asking? Are you asking if any ElasticSearch calls are in the path of the authentication system?

                Whether that is the case or not, that's an internal implementation detail, so I'm curious how this would be helpful to you. Can you help me understand?

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

                1 Reply Last reply Reply Quote 0
                • robotdanR
                  robotdan @mgetka
                  last edited by

                  @mgetka

                  The Elasticsearch index is not queried during an authentication request, it is only used for search operations. We do attempt to update the search index during an authentication request but it is not directly required to complete login.

                  danD 1 Reply Last reply Reply Quote 1
                  • danD
                    dan @robotdan
                    last edited by

                    @robotdan Thanks Dan!

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

                    1 Reply Last reply Reply Quote 0
                    • G
                      grenmaxwell0 Banned
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post