Hi,
I want to use the api boolean operators in a more complex way:
Lets say I want to search for zeus and I want (Images or Text) that are from year (1732 or 1904)
I am trying something like this:
http://api.digitalnz.org/v3/records.json?api_key=[...]&text=zeus&page=1&per_page=20&facets=year,creator,category,rights&or[category][]=Images&or[category][]=Videos&and[year][]=1732&or[year][]=1904here I am getting only the element of 1732
but if you search with
&text=zeus&page=1&per_page=20&facets=year,creator,category,rights&or[category][]=Images&or[category][]=Videos&and[year][]=1904
you get the element of 1904 and my goal is to get them both in only one query...
In other words I would like to find out if you have the expressibility to express queries like:
(A1 or A2) and (B1 or B2)
where the Ai and Bi are filters conditions like [category][]=Images
also can you explain what is the meaning of using i in filters like i[category][]=Images instead of and[category][]=Images or or[category][]=Images
best regards
Enrique