Searching

Modified on Mon, 25 Sep, 2023 at 1:32 PM

An Elasticsearch query goes through the following steps:


  1. The user sends a query from the client application to the Application Service.
  2. The Application Service combines query content with the user’s security profile.
  3. The Application Service sends the query to Elasticsearch.
  4. The Application Service receives a list of folio numbers from the Elasticsearch search result, and uses these numbers to retrieve the full set of folio data from the SQL database. Because the Elasticsearch index might not be consistent with the database, it’s possible the search result from Elasticsearch includes folios that no longer exist in the database. If this is the case, the Application Service might request more results from Elasticsearch to ensure the “max records” specified by the user is fulfilled.
  5. The search result is returned to the client application.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article