Closed f27wood closed 6 years ago
@staplegun and I discussed how to accommodate boolean algebra in the API without introducing too much complexity, and I believe our plan was to implicitly OR together all parameters which have the same name, and to then AND those clauses together. So ?foo=a&foo=b&bar=c
would produce a Solr query q=(foo:a OR foo:b) AND (bar:c)
e.g. something like this should work
http://nma.conaltuohy.com/xproc-z/object?rights=CC%20BY%204.0&rights=CC%20PD%201.0
So this is an intended feature not yet implemented.
Okay great, will mark it to be included in the full public release (or could come earlier)
Done as of revision e238f2d5f5ea3097c7e89ca8dbdbc1f7c4b6a1bd
If you wish to retrieve all images with a Creative Commons status of CC-BY-SA, CC-BY-NC-SA and Public Domain, you cannot do an “OR” filtered search, so would need to do individual API queries per rights lookup.