I have a question regarding the GeoAdmin location search service and its behavior when using a bounding box.For a search application, we restrict the search service to the bounding box of a canton. Additionally, we set the parameter sortbox=false so that results are sorted by similarity to the search term rather than by distance to the center of the BBox.
Is the bbox parameter intended to be used in this way? And have we interpreted the sortbox parameter correctly?
Because in doing so, we have encountered the following inconsistencies:1. No results with sortbox=false
When searching for the term "Bahnhofstrasse 1", we receive no results, even though this address exists in several locations within the BBox.
2. Unfavorable weighting with sortbox=true
We only receive results when we set the sortbox parameter to true. However, these results are weighted unfavorably. Results that are less similar are weighted better (lower number) than similar results. According to the documentation, a weight close to 1 is optimal.
- Weights higher than 2500 (should be less similar but actually contain the perfect match "bahnhofstrasse 1")
Thanks for the help,
Patricia