Elasticsearch url is hardcoded to http://localhost:9200
Open
- Dominant language
- JavaScript
- Stars
- 26
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
The url should be set using an env variable
### Expected Behaviour
http://localhost:9200 should be the default if env variable ELASTICSEARCH_URL is missing
### Actual Behaviour
Elasticsearch url is hardcoded to http://localhost:9200
Contributor guide
Research direction
Search the repository for the hardcoded http://localhost:9200 value and the Elasticsearch client setup; no file is named in the issue. Check the relevant tests or run the applicable test suite, then verify that ELASTICSEARCH_URL overrides the value and the default remains localhost:9200 when it is absent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, javascript
- Domain
- backend, search
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100