Skip to content

[Feature Request] Allow custom min_doc_count in queries #642

@hank-sq

Description

@hank-sq

Summary

We often make queries like 'give me all sales for this specific month grouped by day'. When we do this, it would be helpful to still return a node even when there are no documents. Providing these empty nodes is still helpful for our clients, who maybe want to still display a point in a graph with a 0 value.

It looks like the min_doc_count is hard coded as 1 to intentionally not return empty buckets, but having the ability to override this and return empty buckets would be very helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions