Skip to content

perf(fts): Eliminate SortExec from FTS queries#1

Open
flobinsa wants to merge 1 commit into
main-2b182f4f3from
minor_perf_improv_fts
Open

perf(fts): Eliminate SortExec from FTS queries#1
flobinsa wants to merge 1 commit into
main-2b182f4f3from
minor_perf_improv_fts

Conversation

@flobinsa

Copy link
Copy Markdown
Collaborator

MatchQueryExec now declares _score DESC in its PlanProperties, and TakeExec propagates input ordering through the schema change instead of discarding it. Together these let DataFusion's optimizer eliminate the downstream SortExec for FTS queries — removing a full-sort over all BM25 candidates that was pure overhead, particularly costly on queries without a LIMIT

@github-actions

Copy link
Copy Markdown

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@flobinsa flobinsa force-pushed the minor_perf_improv_fts branch from 7e066c9 to ad0e46f Compare June 18, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant