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

[Core] Support for Aggregations #182

Open
alexander-schranz opened this issue May 9, 2023 · 2 comments
Open

[Core] Support for Aggregations #182

alexander-schranz opened this issue May 9, 2023 · 2 comments
Labels
features New feature or request SEAL Core Seal Core related issue

Comments

@alexander-schranz
Copy link
Member

alexander-schranz commented May 9, 2023

Typical shops will allow if you search something that they show categories to add additional filters. In that case mostly only categories are shown which matches the current search condition of the user. This kind of things are called aggregations.

There are different kind of aggregations which would be nice to support but requires a lot of research if all kind of currently supported search engines support such kind of aggregations:

  • category filter aggregations (matching categories with search term)
  • price range filter aggregations (lowest and highest price)

Questions:

What kind of search engines support this kind of aggregations

Supported:

Maybe:

Should aggregations be part of the search result or own call?

Some search engines support aggregations as combination with the search query, some already requires that the aggregation is a seperate query. Not sure what from the DX point if SearchBuilder allows to query aggregations or if a seperate AggregationBuilder would be better and provide easier DX.

Which type of aggregations are required?

  • Term Aggregation? (e.g.: category filter)
  • Min/Max Aggregation? (e.g.: price range filter)
  • Average Aggregation (show average price value)
  • ...? What other aggregations exists?
@alexander-schranz alexander-schranz added features New feature or request SEAL Core Seal Core related issue labels May 9, 2023
@alexander-schranz
Copy link
Member Author

@Toflar do you have anything planned to support aggregations for @loupe-php?

@Toflar
Copy link
Member

Toflar commented Jan 23, 2024

I have no plans for nothing :) Loupe will be what people make it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features New feature or request SEAL Core Seal Core related issue
Projects
None yet
Development

No branches or pull requests

2 participants