ai fts: improve full-text index docs and scoring details#23302
ai fts: improve full-text index docs and scoring details#23302zhaoshangzi wants to merge 2 commits into
Conversation
Expand the full-text search guide with practical details: clarify that the STANDARD parser lowercases text for case-insensitive matching; add a "Managing full-text indexes" section explaining index naming, viewing (SHOW INDEX / INFORMATION_SCHEMA), dropping, and examples for CREATE/ALTER/CREATE FULLTEXT INDEX; add sections on tokenization and multi-word search semantics (fts_match_word uses tokenization and OR semantics, no phrase or prefix matching), explain effect of repeated terms on BM25 scoring, and document the BM25Tanvity relevance algorithm with the standard k1=1.2 and b=0.75 defaults.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
First-time contributors' checklist
What is changed, added or deleted? (Required)
Expand the full-text search guide with practical details: clarify that the STANDARD parser lowercases text for case-insensitive matching; add a "Managing full-text indexes" section explaining index naming, viewing (SHOW INDEX / INFORMATION_SCHEMA), dropping, and examples for CREATE/ALTER/CREATE FULLTEXT INDEX; add sections on tokenization and multi-word search semantics (fts_match_word uses tokenization and OR semantics, no phrase or prefix matching), explain effect of repeated terms on BM25 scoring, and document the BM25Tanvity relevance algorithm with the standard k1=1.2 and b=0.75 defaults.
Which TiDB version(s) do your changes apply to? (Required)
Tips for choosing the affected version(s):
By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.
For details, see tips for choosing the affected versions.
What is the related PR or file link(s)?
AI agent involvement
Do your changes match any of the following descriptions?