feature request: country bias
It would be great to increase the priority of all results from a certain country.
I'm trying to achieve this using location bias. I get a noticable effect with a location_bias_scale of 4 or higher, but then even insignificant features very close to the location get priority and important results farther away but in the same country are left out. :cry:
For example, using a point in Kansas as a "center" for the United States, I search "new". I get many small towns in Kansas but no "New York":
/api?q=new&limit=5&lat=39&lon=-98&location_bias_scale=4
I think it's a common use case, there should be a dedicated feature for this.
We can have a simple country filter. That is fairly easy.
Ideally, I think there should be two distinct country parameters like in the HERE geocode API:
- country: restict results to one or more countries (I see a few issues about this already).
- countryfocus: prioritize results from one or more countries, but still include global results. Similar to location bias. This is what I meant.
Well, a filter is easy. Reranking is a bit more tricky.
Having a country filter would be great!