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

Combine fulltext search and filtering? #144

Open
stefandesu opened this issue May 6, 2021 · 0 comments
Open

Combine fulltext search and filtering? #144

stefandesu opened this issue May 6, 2021 · 0 comments
Labels
question Further information is requested

Comments

@stefandesu
Copy link
Member

From #143:

We may also also add this parameter to /voc/{search,suggest} so we can use vocabulary search via backend in Cocoda.

I'd love to do that, but the thing is: So far, filtering and text search are completely separate. The former is done on the entity endpoint (/voc in this case), the latter on the search/suggest endpoint. That's why in BARTOC, you can only either search or filter, not both.

However, I don't think that there is something that technically prevents us from combining it. The issue has rather been that we weren't sure how to change in API. Do we add search to the entity endpoint or add filter to the search endpoint? Does search support all the same filtering parameters as the entity endpoint?

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

No branches or pull requests

1 participant