Elasticsearch Utilization [Self Hosted - Community Edition]
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).
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.
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).
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
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.
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?
robotdan last edited by
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.
@robotdan Thanks Dan!
This post is deleted!