Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Add ElasticSearch service #380

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kostajh
Copy link
Contributor

@kostajh kostajh commented Nov 25, 2021

  • Install Docker in VM creation
  • Run ElasticSearch as a container using the image from
    releng/dev-images which has WMF plugins
  • Run CirrusSearch setup scripts in postinstall.sh

Periodically cleaning up old search index data is not done in this
patch. It can be done by deleting the volume associated with the
container (since this is considered throwaway data).

It would be nice if runJobs.php ran periodically for the wiki, as that's
needed to process updates to the search index. Ideas welcome on how to
do that.

Fixes #356

* Install Docker in VM creation
* Run ElasticSearch as a container using the image from
releng/dev-images which has WMF plugins
* Run CirrusSearch setup scripts in postinstall.sh

Periodically cleaning up old search index data is not done in this
patch. It can be done by deleting the volume associated with the
container (since this is considered throwaway data).

It would be nice if runJobs.php ran periodically for the wiki, as that's
needed to process updates to the search index. Ideas welcome on how to
do that.

Fixes MatmaRex#356
@kostajh
Copy link
Contributor Author

kostajh commented Nov 25, 2021

warning; untested code.

@MatmaRex
Copy link
Owner

Sorry I haven't responded yet, I will have a look eventually.

I'm mostly wondering how this will interact with the deduplication of the source code that patchdemo has. I don't know enough about Docker to guess what will happen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ElasticSearch service
2 participants