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

Backend support for searching with tags #1148

Closed
Tracked by #997
lukavdplas opened this issue Jun 8, 2023 · 1 comment · Fixed by #1191
Closed
Tracked by #997

Backend support for searching with tags #1148

lukavdplas opened this issue Jun 8, 2023 · 1 comment · Fixed by #1191
Assignees
Labels
backend changes to the django backend enhancement improvements to user functionality

Comments

@lukavdplas
Copy link
Contributor

The search view should accept a tags parameter, indicating that the query should be filtered on the given tags, which refer to a Tag

The backend should use this to construct and IDs query, which is a dict like the following:

{
	"ids": ["64738523", "84838923", ...]
}

This should be added as a filter ot the query JSON sent to elasticsearch.

@lukavdplas lukavdplas added backend changes to the django backend enhancement improvements to user functionality labels Jun 8, 2023
@lukavdplas lukavdplas self-assigned this Jun 13, 2023
@JeltevanBoheemen
Copy link
Contributor

As per the documentation, should be:

{
    "ids" : {
        "values" : ["64738523", "84838923", ...]
    }
}

@lukavdplas lukavdplas linked a pull request Jul 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend changes to the django backend enhancement improvements to user functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants