You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During discussion with Next.JS team (namely Jakub Ruffer), new idea sprung up. In current situation is up to them to maintain list of filterable parameters, cache it and ask actively for attributeHistogram computation. This requires quite a complex logic in the middleware and also caching (which bring a lot of additional problems). Jakub came with following idea - if he could ask for all "referenceHistograms" and specify a filterBy constraint which references:
and evitaDB would compute "dynamic" count of histograms for target attributes based on reference relevancy and grouped by ReferenceContract#group.
This approach has multiple benefits:
we can mix checkbox and interval types inside single "facetSummary"
this allows us to filter and order their groups in a single declaration
we calculate different output depending on a attribute defined on the group entity or facet entity itself (i.e. conditionally)
we could also retrieve different facet entity data long with the returned statistics, in case of histogram only boundary entities data can be provided because all intermediary thresholds are only virtual ones
During discussion with Next.JS team (namely Jakub Ruffer), new idea sprung up. In current situation is up to them to maintain list of filterable parameters, cache it and ask actively for
attributeHistogram
computation. This requires quite a complex logic in the middleware and also caching (which bring a lot of additional problems). Jakub came with following idea - if he could ask for all "referenceHistograms" and specify a filterBy constraint which references:and evitaDB would compute "dynamic" count of histograms for target attributes based on reference relevancy and grouped by
ReferenceContract#group
.This approach has multiple benefits:
Proposed solution relates also to: #474
histograms
allowing to retrieve histograms by names used in variable argumentThe text was updated successfully, but these errors were encountered: