Open ltog opened 8 years ago
Here is a query to search for multiple persons using a list of multiple ids: https://github.com/htw-pk15/vufind/wiki/Elasticsearch#suche-nach-mehreren-personen-mit-gegebenen-ids
GET /testsb/person/_search
{
"query": {
"filtered": {
"filter": {
"in": {
"@id": ["http://data.swissbib.ch/person/825b0ab5-c490-38e8-af50-4ed444e87b44", "http://data.swissbib.ch/person/5b590f17-2263-309f-bf3a-6c21e1970ad9", "http://data.swissbib.ch/person/4ca6d8e1-694e-3fea-9cde-bc09a7b7f61c"]
}
}
}
}
}
It seems, filtered queries are not implemented yet. See /usr/local/vufind/httpd/module/LinkedSwissbib/src/LinkedSwissbib/Backend/Elasticsearch/DSLBuilder/Query
Multiple AJAX requests tend to get slow. Especially if there are many authors, e.g. in http://data.swissbib.ch/person/514ac9b2-4204-3bd1-b7e1-bf6a58d81530