CentreForDigitalHumanities / CentreForDigitalHumanities/Word2VecElastic

Remove index overrides in environment

Open Beginner friendly
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If `INDEX` is set in the environment, there should be a clear warning in the log, as the results can be unexpected and it's easy to miss. I got stuck on this for a long time 🙈

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the entry point that reads the INDEX environment variable and inspect how that value affects Elasticsearch results. Add a clear log warning when INDEX is set, then verify that the warning explains the unexpected-results risk and appears during the affected workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
elasticsearch, python
Domain
search
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.