You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the planner thinks that full text index entries contain the whole text, when they only contain individual tokens. Therefore, a query that requires the text fields often results in a covering index scan with the "text" being just a single token.
The text was updated successfully, but these errors were encountered:
…ections.
In FoundationDB#1001, we added an optimization that allows filters to be executed
on partial records produced by covering index scans. In FoundationDB#992, we also
added the ability to perform union/intersection/primary key distinct
operations before fetching the base records by primary key.
This refactors the work from FoundationDB#1001 into a substitution visitor that can
work in concert with the union/intersection/distinct visitors. It also
corrects some (untriggered) bugs in the existing visitors.
This also fixesFoundationDB#1017; full text fields now require looking at the
primary records and are not "satisfied" by the tokens in the full text
index entries.
)
* Resolves#1016: Covering filters on legs of unions/intersections.
In #1001, we added an optimization that allows filters to be executed
on partial records produced by covering index scans. In #992, we also
added the ability to perform union/intersection/primary key distinct
operations before fetching the base records by primary key.
This refactors the work from #1001 into a substitution visitor that can
work in concert with the union/intersection/distinct visitors. It also
corrects some (untriggered) bugs in the existing visitors.
This also fixes#1017; full text fields now require looking at the
primary records and are not "satisfied" by the tokens in the full text
index entries.
* Respond to review comments.
Co-authored-by: Mike McMahon <mmcm@comcast.net>
Co-authored-by: Mike McMahon <mmcm@comcast.net>
Currently, the planner thinks that full text index entries contain the whole text, when they only contain individual tokens. Therefore, a query that requires the text fields often results in a covering index scan with the "text" being just a single token.
The text was updated successfully, but these errors were encountered: