Skip to content
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

Upgrade to Elasticsearch 7.x #195

Merged
merged 2 commits into from
May 4, 2020
Merged

Upgrade to Elasticsearch 7.x #195

merged 2 commits into from
May 4, 2020

Conversation

jraddaoui
Copy link
Collaborator

  • Upgrade Docker image and add discovery.type environment variable.
  • Upgrade elasticsearch-dsl dependency requirement.
  • Use new Document class instead of old DocType.
  • Remove document type from index, update and delete operations.
  • Do not disable _all meta field, removed in 7.x.
  • Update README.md.

Refs #192.

@jraddaoui jraddaoui self-assigned this May 1, 2020
@jraddaoui jraddaoui requested a review from sevein May 1, 2020 20:26
@codecov
Copy link

codecov bot commented May 1, 2020

Codecov Report

Merging #195 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
- Coverage   98.06%   98.06%   -0.01%     
==========================================
  Files          26       26              
  Lines        1290     1289       -1     
==========================================
- Hits         1265     1264       -1     
  Misses         25       25              
Impacted Files Coverage Δ
search/management/commands/index_data.py 90.32% <ø> (ø)
search/tasks.py 100.00% <ø> (ø)
scope/models.py 98.72% <100.00%> (ø)
search/documents.py 100.00% <100.00%> (ø)
search/helpers.py 100.00% <100.00%> (ø)

@jraddaoui jraddaoui force-pushed the dev/issue-192-es7 branch from 38e8389 to 6d8869e Compare May 1, 2020 21:10
jraddaoui added 2 commits May 4, 2020 16:56
Allow the project coverage to drop by 3%.
- Upgrade Docker image and add `discovery.type` environment variable.
- Upgrade elasticsearch-dsl dependency requirement.
- Use new Document class instead of old DocType.
- Remove document type from index, update and delete operations.
- Do not disable `_all` meta field, removed in 7.x.
- Update README.md.
@jraddaoui jraddaoui force-pushed the dev/issue-192-es7 branch from 6d8869e to 688ba2f Compare May 4, 2020 14:57
@jraddaoui jraddaoui merged commit 688ba2f into master May 4, 2020
@jraddaoui jraddaoui deleted the dev/issue-192-es7 branch May 4, 2020 15:03
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