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 more facets types #122

Open
3 tasks
alexgarel opened this issue Jun 4, 2024 · 0 comments
Open
3 tasks

Support more facets types #122

alexgarel opened this issue Jun 4, 2024 · 0 comments
Labels

Comments

@alexgarel
Copy link
Member

alexgarel commented Jun 4, 2024

What

  • Currently facets are terms queries, but it is not adapted to all situations, we might want histograms (to render as range), significant_terms, etc.

Proposed solution

I propose:

  • in configuration, to change the bucket_agg from a boolean to a string specifying agg type. We could even have a dict to propose more than one type in some case (eg a facet categories_tags.significants for significant terms, or maybe we specify it in the request)
  • we may have to change filter analysis to retrieve selected values (whatever it means)
  • we have to develop the specific widgets

Forseen facets:

  • range for nutrients
  • significants terms are worth trying for categories

Tasks

Preview Give feedback
  1. 0 of 3
    side panel

Part of

@alexgarel alexgarel added the ✨ enhancement New feature or request label Jun 4, 2024
@github-project-automation github-project-automation bot moved this to Todo (selected) in 🔎 Search-a-licious Jun 4, 2024
@alexgarel alexgarel moved this from Todo (selected) to Backlog (ready for dev) in 🔎 Search-a-licious Jun 5, 2024
@teolemon teolemon added the facets label Jun 6, 2024
@teolemon teolemon removed the ✨ enhancement New feature or request label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog (ready for dev)
Development

No branches or pull requests

2 participants