docs: Add multi-field search documentation for SEARCH function#3287
Open
airborne12 wants to merge 4 commits intoapache:masterfrom
Open
docs: Add multi-field search documentation for SEARCH function#3287airborne12 wants to merge 4 commits intoapache:masterfrom
airborne12 wants to merge 4 commits intoapache:masterfrom
Conversation
… search function Add documentation for two new features in the SEARCH function: 1. Lucene Boolean Mode: - JSON-based options parameter (mode, minimum_should_match) - Left-to-right modifier parsing (MUST/SHOULD/MUST_NOT) - Behavior comparison table with standard mode 2. Escape Characters: - Support for escaping special characters in DSL - Backslash escapes for space, parentheses, colon, backslash Updated both English and Chinese versions of search-function.md. Related PR: apache/doris#59394 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add documentation for the multi-field search feature including: - New JSON options syntax format - fields array parameter for multi-field search - type parameter with best_fields and cross_fields modes - mode parameter for lucene parsing mode - minimum_should_match parameter Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Chinese translation of multi-field search documentation for SEARCH function: - New JSON options syntax format - fields array parameter for multi-field search - type parameter with best_fields and cross_fields modes - mode and minimum_should_match parameters Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Remove incorrect claim that "Pure NOT queries return empty results". NOT queries work correctly in both standard and Lucene modes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add documentation for the multi-field search feature in SEARCH function, which is being added in apache/doris#59845.
Changes:
SEARCH('<search_expression>', '<options_json>')fieldsarray parameter for searching across multiple fieldstypeparameter documentation withbest_fieldsandcross_fieldsmodesmodeandminimum_should_matchparameters for lucene modeMulti-field Search Modes:
best_fieldscross_fieldsRelated PR
🤖 Generated with Claude Code