You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the way it’s implemented, it doesn’t appear to be possible to find things which have one of several licenses. A query such as http://collections.museumvictoria.com.au/api/search?envelope=true&imagelicence=public+domain&imagelicence=cc+by finds only items which contain at least one image each licensed as public domain and cc-by, while searching for each imagelicence value individually reveals there are many more applicable items (i.e. http://collections.museumvictoria.com.au/api/search?envelope=true&imagelicence=public+domain reveals 35,486 items with public-domain pictures, versus the 230 returned by the above query).
While I understand that in some cases this behaviour is likely desirable, in my use case (wanting to find anything which has images which are reusable elsewhere) it’s not very helpful, as it means I may need to hit the API several times to make sure I can access the items I’m interested in.
The text was updated successfully, but these errors were encountered:
Yea, I deliberately chose to only allow AND queries as OR queries lead to 0 result sets... this is something that other people have raised before so its not off the cards to allow OR queries as a sort of advanced option as I know hitting the API multiple times insnt ideal.
Due to the way it’s implemented, it doesn’t appear to be possible to find things which have one of several licenses. A query such as
http://collections.museumvictoria.com.au/api/search?envelope=true&imagelicence=public+domain&imagelicence=cc+by
finds only items which contain at least one image each licensed as public domain and cc-by, while searching for each imagelicence value individually reveals there are many more applicable items (i.e.http://collections.museumvictoria.com.au/api/search?envelope=true&imagelicence=public+domain
reveals 35,486 items with public-domain pictures, versus the 230 returned by the above query).While I understand that in some cases this behaviour is likely desirable, in my use case (wanting to find anything which has images which are reusable elsewhere) it’s not very helpful, as it means I may need to hit the API several times to make sure I can access the items I’m interested in.
The text was updated successfully, but these errors were encountered: