• Home
  • Categories
  • Recent
  • Popular
  • Pricing
  • Contact us
  • Docs
  • Login
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.4k
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 26 Apr 2020, 06:32

    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
    • D
      dan
      last edited by 27 Apr 2020, 15:31

      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 27 Apr 2020, 19:34

        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
        • D
          dan
          last edited by 27 Apr 2020, 21:32

          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 30 Apr 2020, 15:58

            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.

            R 1 Reply Last reply 1 May 2020, 02:44 Reply Quote 0
            • D
              dan
              last edited by 30 Apr 2020, 16:46

              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
              • R
                robotdan @mgetka
                last edited by 1 May 2020, 02:44

                @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.

                D 1 Reply Last reply 1 May 2020, 13:58 Reply Quote 1
                • D
                  dan @robotdan
                  last edited by 1 May 2020, 13:58

                  @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 30 Oct 2021, 11:56

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