datalust / seq-tickets

Issues, design discussions and feature roadmap for the Seq log server
https://datalust.co/seq
96 stars 5 forks source link

Indexes on object-valued properties are ignored #2188

Closed nblumhardt closed 2 months ago

nblumhardt commented 4 months ago

Errata for the 2024.3 release - spotted just a fraction too late to make it into the first cut.

If an expression index is created on a property A, then comparisons against object literals:

A = {b: 42}

will not use the index due to a quirk in the underlying AST. All other constant/literal types will work.

Note that the impact of this bug is the query running slower. Results are still correct.