Skip to content

bug(clp-s::search): Query for null against all fields returns more results than expected. #2322

Description

@gibber9809

Bug

The query *:null appears to match every record instead of only records that contain a null field.

CLP version

9cf9bea

Environment

Ubuntu 24.04 docker container.

Reproduction steps

Ingest the following dataset:

{"a": "b"}
{"a": null}

observe that the query a:null correctly only returns the second result, but the query *:null unexpectedly returns both results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions