Closed sseppi closed 12 months ago
As you can see in the documentation linked below, a new feature has been added to the rawfilter has been added.
rawfilter
https://github.com/noi-techpark/odh-docs/wiki/Using-rawfilter-and-rawsort-on-the-Tourism-Api
The rawfilter includes now the features like (for strings) and likein (for array of strings) that allows the user to filter out all elements that contains a certain substrings in a field or in array.
like
likein
I post here below the example that returns all eventShort that in the Title contains "SFS": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?source=eurac&rawfilter=and(like(EventTitle.en,%27SFS%27))
I post here below the example that returns all EventShort that has a language that contans "d": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?rawfilter=and(likein(HasLanguage.[*],%27d%27))
TODO: include the like and likein operators in the filter options (see screenshot below).
Done as of 638c4f6
Super that is a great news! I will test the functionality and close the issue!
As you can see in the documentation linked below, a new feature has been added to the
rawfilter
has been added.https://github.com/noi-techpark/odh-docs/wiki/Using-rawfilter-and-rawsort-on-the-Tourism-Api
The
rawfilter
includes now the featureslike
(for strings) andlikein
(for array of strings) that allows the user to filter out all elements that contains a certain substrings in a field or in array.I post here below the example that returns all eventShort that in the Title contains "SFS": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?source=eurac&rawfilter=and(like(EventTitle.en,%27SFS%27))
I post here below the example that returns all EventShort that has a language that contans "d": https://databrowser.opendatahub.testingmachine.eu/dataset/table/tourism/v1/EventShort?rawfilter=and(likein(HasLanguage.[*],%27d%27))
TODO: include the
like
andlikein
operators in the filter options (see screenshot below).