-
-
Notifications
You must be signed in to change notification settings - Fork 163
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
autocomplete: cannot find place using its label #1395
Comments
@orangejulius this test case seems to be fixed by what you've current got running on the staging server: Can you remind me what you changed which may have fixed this? |
This is the branch: https://github.com/pelias/api/tree/disable-parser There are two notable changes: the first is removing most of the parser logic to always return subject (as a test), and second, some of the query logic is changed. The primary I believe that second change is something we should probably merge close to straight away, as it helps reduce overly strict requirements for matching. Removing the parser logic is probably too extreme, although we might look at effectively disabling it for very short inputs. |
@orangejulius thank you for hinting into the "disable-parser" branch.
|
Hi folks, I seem to have a similar issue. I'm run the latest docker build, and for me autocomplete is always empty but search always works. So, for instance, I've just checked the logs now before pressing submit, and it appears that the autocomplete endpoint is unable to connect to elastic search, but the search one works just fine. For autocomplete I can see the following in the logs:
Which is strange. I'll have a look at the setup and post back. |
I don't see anything odd in my docker compose file. And obviously the search endpoint from the api container can connect just fine to the elastic endpoint, but the autocomplete one cannot, so it must be somewhere in the code? |
Hi @meezaan, you issue is different from the one mentioned. Can you please open a new issue and post your pelias.json file. |
Thanks @missinglink. I may have found the problem, but if I have not I'll open another issue. |
the document
openstreetmap:venue:node/3691534194
has the following label:however, when searching for the same record using this label no results are returned:
it's not clear why this is the case, requires some investigation.
note: this works correctly for
/v1/search
The text was updated successfully, but these errors were encountered: