We should be referencing aliases from our code, not indices. This change updates the management command to create an index with a unique name and assign it an alias. Documentation has been updated accordingly. Additionally, the code creating the alias/index has been moved to a class that is now shared with the tests to avoid code duplication and ensure tests are run under similar conditions (e.g. alias pointing to index) to production.
| Name |
Last commit
|
Last update |
|---|---|---|
| .tx | Loading commit data... | |
| course_discovery | Loading commit data... | |
| docs | Loading commit data... | |
| requirements | Loading commit data... | |
| .bowerrc | Loading commit data... | |
| .coveragerc | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .pep8 | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CONTRIBUTORS.txt | Loading commit data... | |
| LICENSE.txt | Loading commit data... | |
| Makefile | Loading commit data... | |
| README.rst | Loading commit data... | |
| docker-compose.yml | Loading commit data... | |
| manage.py | Loading commit data... | |
| pylintrc | Loading commit data... | |
| pylintrc_tweaks | Loading commit data... | |
| requirements.txt | Loading commit data... |