Skip to content

Conversation

chaudum
Copy link
Contributor

@chaudum chaudum commented Sep 15, 2025

Summary

There are three edge cases that this PR improves:

  1. No table (toc) paths could be resolved: return early with empty result
  2. No index paths could be resolved: return early with empty result
  3. No relevant sections could be resolved: return with empty result instead of with an error

…index

This PR changes the behavour of the dataobj index so it does not return
an error in case no relevant sections were found for given matchers and
predicates.

The current behaviour caused queries to fall back to the old engine
_after_ the index operations.

Signed-off-by: Christian Haudum <[email protected]>
Signed-off-by: Christian Haudum <[email protected]>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Sep 15, 2025
@chaudum chaudum marked this pull request as ready for review September 15, 2025 10:34
@chaudum chaudum requested a review from a team as a code owner September 15, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants