Release notes

9.5.7-41.0

Features

Core

  • Added OpenTelemetry tracing in the planner.

Graph

  • Added support for modeling and querying graphs with properties on edges.

  • Added a budget parameter to graph requests that stops the query when the time budget is exhausted and returns the results found so far.

  • Added support for batching graph pattern evaluation.

  • Added an ignore_pattern_pruning parameter to disable the skipping of graph patterns already found to have no match.

  • Added support for using reserved words in graph labels and property names when double-quoted.

  • Added support for an optional reverse_label on a relation in the graph data model.

  • Added validation of graph data model relations: a relation must be defined with a single EQ condition.

Improvements

Core

  • Upgraded to Elasticsearch 9.5.7

  • Upgraded to Java 25.

  • Updated to Jackson 2.21.8.

  • Improved task worker scheduling by fairly interleaving the workers of concurrent tasks across producer threads without relying on reflection.

  • Improved sort operations in vectorized join and search-project tasks by sorting batches on-heap before populating off-heap vectors.

  • Reduced lock contention in the data store when closing data entries.

  • Improved the data lifecycle by making task workers borrow the vector container of the data partition.

  • Improved code stability by removing the reflection used to execute aggregations.

  • Reduced contention on the Elasticsearch management thread pool by moving Federate transport actions off it.

  • Improved the evaluation of joins in a boolean query: a join computation can be skipped based on the result of sibling clauses.

  • Reduced the overhead of can_match requests by avoiding the submission of a task for every shard.

Graph

  • Renamed the graph settings siren.graph.max_limit and siren.graph.max_quantifier_upper_bound to federate.graph.max_limit and federate.graph.max_quantifier_upper_bound; the old names are still accepted but deprecated.

  • Reduced the memory usage of graph requests using LIMIT by enumerating matching graphs depth first.

  • Improved the batched evaluation of graph patterns by progressively increasing the batch budget within a query, up to the configured ceiling.

Bug Fixes

Consolidator

  • Fixed an issue where the consolidator plugin could create duplicate documents in the central index by not setting the _id on index requests.

  • Fixed an issue in the consolidator plugin where delete requests did not set the document _id.

Core

  • Fixed an issue where early termination could return incorrect results when a join contains should clauses.

  • Fixed an issue with dis_max queries when using both min_score and tie_breaker.

  • Fixed memory used by numeric columns during data transfers being counted against the task that produced it instead of the job.

  • Reduced memory usage when deserializing data packets.

  • Fixed an issue where a rejected field capabilities response could hang a query.

  • Fixed an issue where several requests could share the in-flight computation of optimizer statistics.

  • Fixed an issue where a nullable vector reader discarded the remainder of an all-null chunk.

  • Fixed an issue where a query cache lookup could run inside an atomic operation during cache pruning.

  • Fixed an issue where point-in-time resources could leak because the PIT context was not persisted before preserving PIT resources.

  • Fixed an issue where an empty should clause could cause a join to early-terminate its parent and discard valid results.

Graph

  • Fixed an issue where matching graph patterns could return a longer match before a shorter one when using undirected edges or quantified patterns, affecting LIMIT and ALL SHORTEST results.

  • Fixed an issue where graph requests cached empty join results, causing repeated queries to skip fewer expanded patterns as the cache warmed.

  • Fixed a cache pruning issue with boolean queries leaving unnecessary tasks behind.

  • Fixed an issue where pattern pruning could skip a valid pattern because path signatures did not keep edge order and orientation.

  • Fixed an issue where merging a shared node in one pattern combination could leak into other combinations.

  • Fixed an issue where unsupported clauses of a graph query were previously accepted; they are now rejected with a clear error message.

  • Fixed an issue where a shard failure was not surfaced in the graph response.