Difference between revisions of "Search Elastic"

From SocialStack
Line 18: Line 18:
#Start Elastic Search for the first time and get the master password and certificate fingerprint
#Start Elastic Search for the first time and get the master password and certificate fingerprint
#Add the url, credentials and fingerprint values to the module configuration via the ss admin panel
#Add the url, credentials and fingerprint values to the module configuration via the ss admin panel
#Run the automation to index the site
#Run the automation to index the site, the indexing progress is shown via the console


The module also contains a postman collection which can be used to quick debug/verify the indexed content
The module also contains a postman collection which can be used to quick debug/verify the indexed content


Once indexed there is a UI/SiteSearch module which can be used as the basis of the site search
Once indexed there is a UI/SiteSearch module which can be used as the basis of the site search

Revision as of 12:22, 28 February 2023

The elastic search module works alongside the Search Crawler to extract pages from the site into an elastic search instance to enable site wide search

The module registers itself to listen for the search crawler events and creates locale based indexes in the elastic repo for any pages it receives

The indexing process is controlled by execution of the search crawler via the site automations

The module contains a Readme.txt file which gives help for the initial setup of elastic but the creation of the indexes/content are all automated.

The basic setup steps are

  1. Install the following socialstack modules
    • Api/SearchCrawler
    • Api/SearchElastic
    • UI/SiteSearch
  2. Mark any pages not to be indexed
  3. Install Elastic Search (see Readme.txt in the repo for help and guidance)
  4. Configure the sizing/scale in the elasticsearch.yml file (mainly vm memory usage)
  5. Start Elastic Search for the first time and get the master password and certificate fingerprint
  6. Add the url, credentials and fingerprint values to the module configuration via the ss admin panel
  7. Run the automation to index the site, the indexing progress is shown via the console

The module also contains a postman collection which can be used to quick debug/verify the indexed content

Once indexed there is a UI/SiteSearch module which can be used as the basis of the site search