New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
autocomplete: search string not found but expected. #488
Comments
Hey @oliverbienert, An interesting side effect is that a query for karl liebknecht str will return results, because we store hyphenated street names both as one big long word, and as individual words, none of which by themselves exceed the 18 character maximum in this case. |
Hej, thank you for quick response! |
Hi @orangejulius, I think, we'll resolve the issue for now by increasing the Thank you for the hint. |
Yes, let us know how it goes. There's nothing really stopping us from making the change, as I think there's not much work involved. It just hasn't been a huge priority. |
I expect this issue to have been resolved in pelias/schema#224, at time of writing that code hasn't made it to production, leaving this ticket open until I can confirm it's resolved. |
Hi all! http://pelias.github.io/compare/#/v1/autocomplete%3Ftext=karl-liebknecht-str We'll consider this fixed for now. Someday I'm sure we'll find an even longer (probably German) streetname, but until then, happy searching :) |
Hey team!
I was using your awesome geocoding engine when I noticed something interesting.
Let me tell you more about it.
Here's what I did 馃槆
(I removed api_key argument intentionally)
This returns zero results:
karl-liebknecht-str
But if remove the 'r' from the end of the string, I get the expected result:
karl-liebknecht-st
Interesting: Using
search
instead ofautocomplete
yields exactly the same results.However, both queries should return roughly the same results, that is, a number of features labeled 'Karl-Liebknecht-Stra脽e...'
I'd like to know what's going on? I guess it's an elastic search issue, somehow?
For the following sub strings the result is empty:
*str
*stra
*stra脽
Then again, the exact search term (case-insensitive) 'karl-liebknecht-stra脽e' returns the expected result.
Is there a possibility to use wild cards?
Or is this a language issue?
Is this a stemming issue?
How can I make sure that german stemming is used?
Oliver
The text was updated successfully, but these errors were encountered: