mapbox / mapbox/mapbox-search-android
Inconsistent Search in V5 vs V6
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 39
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Currently using the V6ForwardGeocodingRequestOptions methods as such:
```
query = "italian restaurants";
location = "buffalo ny";
var requestOptions = V6ForwardGeocodingRequestOptions.builder("italian restaurants in buffalo ny")
.autocomplete(false)
.build();
var newStuff = MapboxV6Geocoding.builder(token, requestOptions).build();
```
Sample Response when I get the name from the Feature object:
`"North Buffalo"
`
This search is not giving me the same results as in v5.
Sample V5 Request:
```
var client = MapboxGeocoding.builder()
.accessToken(token)
.mode(GeocodingCriteria.MODE_PLACES)
.query("italian restaurants in buffalo ny")
.autocomplete(true)
.build();
```
Sample response:
`Romeo & Juliet's Bakery & Caffé, 1292 Hertel Ave, Buffalo, New York 14216, United States
`
Is there an equivalent request in V6 as there was in V5?
Thank you!
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
Start by comparing the V6ForwardGeocodingRequestOptions request with the V5 MapboxGeocoding request shown in the issue, including autocomplete and query behavior. The issue names no repository files or tests, so first locate the V5 and V6 geocoding request implementations and determine whether equivalent V6 behavior is expected; done means the discrepancy is explained or covered by a confirmed fix or documented limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- api, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100