Skip to content

Commit cb9b7a0

Browse files
committed
Restore original query text
1 parent 7ef526f commit cb9b7a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

solutions/search/hybrid-semantic-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ POST /_query?format=txt
222222
{
223223
"query": """
224224
FROM semantic-embeddings METADATA _score <1>
225-
| WHERE content: "How to avoid muscle soreness while running?" OR match(semantic_text, "How to avoid muscle soreness while running?", { "boost": 0.75 }) <2> <3>
225+
| WHERE content: "muscle soreness running?" OR match(semantic_text, "How to avoid muscle soreness while running?", { "boost": 0.75 }) <2> <3>
226226
| SORT _score DESC <4>
227227
| LIMIT 1000
228228
"""

solutions/search/semantic-search/semantic-search-semantic-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ POST /_query?format=txt
138138
{
139139
"query": """
140140
FROM semantic-embeddings METADATA _score <1>
141-
| WHERE content: "What causes muscle soreness after running?" <2>
141+
| WHERE content: "How to avoid muscle soreness while running?" <2>
142142
| SORT _score DESC <3>
143143
| LIMIT 1000 <4>
144144
"""

0 commit comments

Comments
 (0)