Questions about do_search

37 views
Skip to first unread message

Pieter-Jan Claeys

unread,
Oct 17, 2021, 6:17:38 PM10/17/21
to ResourceSpace
I am trying to get some data from the API to integrate in a public website but I have some questions about the search in do_search

I am trying to get the modified items since a date. Tried with the "modified" field and a date/daterange, but both don't give any results. 

function=do_search&search=modified%3Arangestart2021-09-01end2021-10-15

Also I would like to filter on the access field, but that doesnt return any results either.

function=do_search&search=access%3A1

These queries seem to work in the search UI, but not in the API. Anybody has an idea how I can get these results out of the API?

Best regards,
Pieter

DrElectron

unread,
Oct 19, 2021, 4:25:40 PM10/19/21
to ResourceSpace
I can't offer any help, I'm afraid, but only confirmation that "modified:2021"' returns no results for me either using the API test tool - even though I can see 'modified' as a date field containing 2021 in results returned by a different search query.

By contrast, "creation_date:2021" DOES return resources. V odd. 

Do update if you get an answer.

Kind regards
Peter

Reply all
Reply to author
Forward
0 new messages