-
Notifications
You must be signed in to change notification settings - Fork 3
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 endpoint only queries name, not labels #338
Comments
The same happens with:
|
In the case of persons, d-nb database entries are being returned |
The problem also occurs when linking
|
yes, that should be easy to fix. we are on it. |
bitte melden, wenn fertig, dann kann ich mit dem copypasten aufhören |
👍
Am 13.07.2022 10:41 schrieb Matthias Schlögl ***@***.***>:
yes, that should be easy to fix. we are on it.
—
Reply to this email directly, view it on GitHub<#338 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AI5U6VIWEWLMZA4Y6I3PRVDVTZ6MBANCNFSM525E4UUA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Also in the relations UI the entity search does not find labels. |
Now it also happened with an institution:
|
|
|
|
Derselbe Ärger wegen falscher URLs mit
|
ebenso Statthalterei Prag |
Abgeordnetenhaus Sozialdemokratische Arbeiterpartei |
Should be fixed by changing "Place": {
"merge": True,
"search": ["name", "label__label"],
...
} This has been done for |
@sviatoplok noted that
Contrary to what the Web GUI "name or label" search box does, the autocomplete endpoint does not return entites with a label.
https://mpr.acdh.oeaw.ac.at/apis/entities/autocomplete/place/?term=bodenbach&q=bodenbach&_type=query only returns external GeoNames entities
https://mpr.acdh.oeaw.ac.at/apis/entities/autocomplete/place/?term=podmokly&q=podmokly&_type=query returns the entity that is already stored in the MPR and has the label "Bodenbach".
Expected behaviour:
https://mpr.acdh.oeaw.ac.at/apis/entities/autocomplete/place/?term=bodenbach&q=bodenbach&_type=query should return https://mpr.acdh.oeaw.ac.at/entity/7431
As the "name or label" search box already shows this behaviour I suspect this could be easily achieved.
The text was updated successfully, but these errors were encountered: