From cf6f342e4233751d9b97b49d137b750e0e7ec103 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 12 Dec 2025 10:03:45 +0800 Subject: [PATCH] Update DESIGN.md to reflect changes in processing tool configurations - Changed the configuration key from `uses.dsl` to `uses.query` for clarity in the search processing tools section. - Updated documentation to ensure consistency in the description of query processing methods and their corresponding configurations. - Enhanced examples to align with the new configuration terminology, improving understanding of the search module's functionality. --- agent/search/DESIGN.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/search/DESIGN.md b/agent/search/DESIGN.md index 4a4153bf..e3ae144b 100644 --- a/agent/search/DESIGN.md +++ b/agent/search/DESIGN.md @@ -662,7 +662,7 @@ uses: # Search processing tools keyword: "builtin" # "builtin", "workers.nlp.keyword", "mcp:nlp-server" - dsl: "builtin" # "builtin", "workers.nlp.dsl", "mcp:query-server" + query: "builtin" # "builtin", "workers.nlp.query", "mcp:query-server" rerank: "builtin" # "builtin", "workers.rerank", "mcp:rerank-server" # Note: embedding & entity follow KB collection config ``` @@ -940,7 +940,7 @@ Request → Trace Start → Query Process → Search → Rerank → Citations | ---- | ----------------------------------------------------- | -------------------- | | Web | Extract keywords → Build query | `uses.keyword` | | KB | Get collection's embedding model → Generate embedding | KB collection config | -| DB | Parse query → Build QueryDSL → Execute on models | `uses.dsl` | +| DB | Parse query → Build QueryDSL → Execute on models | `uses.query` | #### Processing Methods @@ -972,7 +972,7 @@ Entity extraction and embedding generation follow KB collection's own configurat #### QueryDSL Generation (Database) -Configure via `uses.dsl`: +Configure via `uses.query`: ``` "Products cheaper than $100 from Apple"