-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ELASTICSEARCH-FIRST] Enable Elasticsearch for new wikis #147
Conversation
556f41d
to
ebc34ff
Compare
7570715
to
0383f1c
Compare
The actual search for Lexemes still isn't working locally in the mediawiki repo. We are probably missing some configuration that needs to be added. |
Should have started in the other end on this epic, seems elasticsearch does not need any special updating to handle lexeme. |
this is being re-written not to use the observer |
34eada0
to
0c64d61
Compare
caca26f
to
43c71b5
Compare
65180d1
to
d57042c
Compare
d57042c
to
826e479
Compare
This adds wwExtEnableElasticSearch to new wikis and dispatches a job to initialize the index and enable the feature. Lexeme and Wikibase terms end up in the same index so we do not need to take this into consideration.
826e479
to
74d29b9
Compare
This is required in-order for the job to to be able to run.
- Adds some more tests to the failure conditions, each one should result in the setting being disabled. - refactors the cirrus search base name to be the wikiDB instead of domain. - bumps the timeout to 60 seconds
5cf8d32
to
4973dea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good
This enables elasticsearch for new wikis through the ElasticSearchIndexInit job.
Lexemes and Items end up in the same index so no special treatment should be needed when this setting is enabled but probably needs wbstack/mediawiki#121 to be deployed before.