IIIF / api

Source for API and model specifications documents (api and model)
http://iiif.io/api
105 stars 54 forks source link

Changing either params (include / exclude) or the value to allow +/- in the value. #2134

Open kirschbombe opened 2 years ago

kirschbombe commented 2 years ago

Previous discussion about changing either params (include / exclude) or the value to allow +/- in the value.

azaroth42 commented 2 years ago

Proposal: Motivations may be prefixed with the character "-" with the meaning of excluding that motivation from the search. Motivations listed without a "-" character are all possible, rather than all being required. If all motivations are prefixed with "-", then any other motivation is allowed.

Examples: "painting -supplementing" = must have painting, must not have supplementing, may have any others "-painting" = must not have painting, may have any others "painting" = must have painting, may have any others "painting supplementing" = must have painting or supplementing, may have any others "painting supplementing -highlighting" = must have painting or supplementing, must not have highlighting, may have any others

azaroth42 commented 2 years ago

Should this be included in Search 3.0? (thumbs up/down on the comment please)