autocomplete: cannot find place using its label
Open
Nobody has claimed this yet.
autocomplete
- Dominant language
- JavaScript
- Stars
- 259
- Forks
- 168
- Avg merge
- 6h 15m
- Merged PRs (30d)
- 1
Description
the document openstreetmap:venue:node/3691534194 has the following label:
"label": "Koh Lanta, Gothenburg, Sweden"
however, when searching for the same record using this label no results are returned:
/v1/autocomplete?text=Koh Lanta, Gothenburg, Sweden
no features
it's not clear why this is the case, requires some investigation.
note: this works correctly for /v1/search
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the /v1/autocomplete?text=Koh Lanta, Gothenburg, Sweden request for openstreetmap:venue:node/3691534194 and compare it with the working /v1/search request. Trace how the autocomplete path handles the document label; done means the label returns the expected feature without breaking existing autocomplete behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100