Skip to content

Elasticsearch Integration#3372

Merged
nolanpro merged 11 commits intodevelopfrom
feature/elasticsearch
Sep 3, 2020
Merged

Elasticsearch Integration#3372
nolanpro merged 11 commits intodevelopfrom
feature/elasticsearch

Conversation

@ryancooley
Copy link
Copy Markdown
Contributor

@ryancooley ryancooley commented Sep 3, 2020

Changes

  • Integrates Elasticsearch as a potential driver for the Indexed Search feature
  • Refactors the php artisan indexed-search:enable console command
    • Allows the user to specify the following interactively or via flags:
      • Driver: either Elasticsearch or SQLite
      • URL: the full URl (including protocol and port) to the Elasticache instance
      • Prefix: the prefix that each index should prepend to its name to prevent clashes when using one Elasticache instance for multiple ProcessMaker 4 instances
  • Adds an indicator to the About page to display enabled or disabled status

Testing Notes

  • In order to test, an Elasticache instance must be created either locally or on AWS Elasticache
  • To install locally, run the following commands:
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
sudo apt update
sudo apt install elasticsearch
sudo systemctl start elasticsearch
  • Once Elasticsearch is running, run php artisan indexed-search:enable and follow the interactive prompts.

Related

@nolanpro nolanpro self-requested a review September 3, 2020 19:26
@nolanpro nolanpro merged commit cd87393 into develop Sep 3, 2020
@velkymx velkymx deleted the feature/elasticsearch branch March 29, 2021 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants