Homec4science

Make it possible to configure Elasticsearch index name

Authored by Chad Horohoe <chadh@wikimedia.org> on Jul 11 2014, 03:41.

Description

Make it possible to configure Elasticsearch index name

Summary:
Similar to storage.default-namespace sometimes during development you'll want
to handle multiple indexes alongside one another. Rather than hardcoding the
/phabricator/ index make this exposed in new search.elastic.index setting,
defaulting to the existing "phabricator"

Test Plan:
Existing installations should be unaffected by this change. Changing the new
setting will result in new indexes being created when someone runs
./bin/search index again

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: 20after4, rush898, epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9798

Details

Committed
epriestley <git@epriestley.com>Jul 11 2014, 03:41
Pushed
aubortJan 31 2017, 17:16
Parents
rPH793eced32dd2: Modernize "projects" typeahead datasource
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH66a3abe058a7: Make it possible to configure Elasticsearch index name (authored by Chad Horohoe <chadh@wikimedia.org>).Jul 11 2014, 03:41