Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support NOT in term filter #137

Open
arildm opened this issue Apr 11, 2023 · 1 comment
Open

Support NOT in term filter #137

arildm opened this issue Apr 11, 2023 · 1 comment
Labels

Comments

@arildm
Copy link
Member

arildm commented Apr 11, 2023

No description provided.

@arildm
Copy link
Member Author

arildm commented May 10, 2023

Tested the API. It doesn't support not-matches-<egenskap> but it works with not-<egenskap>, for instance: https://libris.kb.se/find?q=*&and-matches-instanceOf.subject.%40id=https%3A%2F%2Fqueerlit.dh.gu.se%2Fqlit%2Fv1%2Fua71em06&not-instanceOf.subject.%40id=https%3A%2F%2Fqueerlit.dh.gu.se%2Fqlit%2Fv1%2Fdk34ho21&%40reverse.itemOf.heldBy.%40id=https%3A%2F%2Flibris.kb.se%2Flibrary%2FQLIT&_sort=-meta.modified&_offset=0&_limit=20 It means that the NOT'ed term is matched exactly, not hierarchically. I'm not sure if this covers most usecases, or if we need to ask KB to support not-matches-<egenskap> as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant