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

Add optional search param to allow "SOLR tagging and Excluding Filters" #935

Open
nickdos opened this issue Jan 6, 2025 · 0 comments · Fixed by #936
Open

Add optional search param to allow "SOLR tagging and Excluding Filters" #935

nickdos opened this issue Jan 6, 2025 · 0 comments · Fixed by #936
Assignees
Milestone

Comments

@nickdos
Copy link
Contributor

nickdos commented Jan 6, 2025

SOLR provides a way to include facets counts for values of a given facet field, even when that field is being used for filtering. It is referred to as facet tagging and excluding. This is useful for showing selected vs unselected values in the UI, such as:

image

This is required for the new atlas-index species pages UI (issue-29) and may also be useful for future biocache-hubs rewrite in client-side frameworks like React.

@nickdos nickdos self-assigned this Jan 6, 2025
nickdos added a commit that referenced this issue Jan 9, 2025
Initial changes - still need to add code to handle multiple fields in fq.
@nickdos nickdos linked a pull request Jan 10, 2025 that will close this issue
nickdos added a commit that referenced this issue Jan 10, 2025
nickdos added a commit that referenced this issue Jan 13, 2025
nickdos added a commit that referenced this issue Jan 14, 2025
Default to false but configurable in the future via config file.
nickdos added a commit that referenced this issue Jan 14, 2025
…and-excluding-filters

#935 solr tagging and excluding filters
@adam-collins adam-collins added this to the 3.6.0 milestone Jan 29, 2025
@nickdos nickdos reopened this Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants