The alias is the Elasticsearch mechanism to let you search against the category instead of each index. When you search, you search against the Search Category instead of the individual indices. If you deployed the EP_ASSETS search in Finance for the database PSFTDB, the alias is ep_assets_psftdb_orcl_es_alias. The Integration Broker POSTs the message against the alias for the Search Category. The app package also builds the HTTP headers for the transaction, such as the content-type: application/json and the Authorization header. In the app package PTSF_ES, the JSON search query string is converted into an IB Message using the IB_GENERIC message. The app package PT_SEARCH has a number of methods that check for wildcards, partial words, and create a valid JSON request for Elasticsearch. The search request from the user needs to be parsed and formatted so that Elasticsearch understands the query. When you open the component, it runs sends a query to Elasticsearch for data to populate the page with. A good example is the “Find Learning” page in ELM. But this process can also start from a component. Generally, this happens when a user opens the Search Box and enters a term or terms to search on. Let’s take a look into the anatomy of a search to understand the process. We’ve talked before on how to configure Elasticsearch with PeopleSoft, but what happens when we perform a search? There are a number of moving parts that handle the search query, applying security and displaying the results. Search is becoming more important in PeopleSoft and is often required for applications to work properly.
0 Comments
Leave a Reply. |