Comments (1)
The problem was caused by the fact, that there was single filtering constraint targetting the same attribute as requested in histogram which caused that the entire filtering constraint was eliminated when calculating the histogram:
- the filtering constraint excluding user filter was NULL
- the filtering constraint including user filter, but excluding the constraint targeting the attribute for which the histogram is computed
These two places were places where the NPE occured. I updated the expectations, wrote the test and made it work.
from evitadb.
Related Issues (20)
- More explicit facet summary result structure for non-grouped facets in GQL/REST APIs
- Support for JSON-like logging that is more easily digestible by Loki and similar systems in K8S ecosystem HOT 3
- Facet summary of empty collection returns internal error HOT 1
- Optimize method checking classifiers against keywords HOT 4
- ReferencedTypeIndex fails to remove attribute value
- Facet summary integration with hierarchical entities
- Reference attributes are returned when `referenceContentAll` is used
- Don't generate mutations in GQL/REST if evita is in read-only mode (discussion) HOT 2
- Allow returning collection-specific entities in generic entity queries using `targetEntity` field
- Evita Client fails to query custom entity contract without specifying collection in Query
- Cannot fetch bodies for multiple entities from multiple collections HOT 3
- Predecessor ordering used in facet statistics doesn't work HOT 2
- Try alternative gRPC library HOT 2
- Global index of entity Group unexpectedly not found! in FacetSummary sorting
- Provide info about requested bucket count in histogram DTO
- Mark all buckets as requested if not filter is present
- System / gRPC API should provide information about evitaDB server version HOT 5
- Better error message for duplicate constraints in input query HOT 1
- Optional histogram bucket optimization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evitadb.