mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 05:15:04 +00:00
Docs: Add missing quotes in phrase suggest
This commit is contained in:
parent
00cc16cc6a
commit
d6ba3226d6
@ -22,7 +22,7 @@ request:
|
|||||||
|
|
||||||
[source,js]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
curl -XPOST 'localhost:9200/_search' -d {
|
curl -XPOST 'localhost:9200/_search' -d '{
|
||||||
"suggest" : {
|
"suggest" : {
|
||||||
"text" : "Xor the Got-Jewel",
|
"text" : "Xor the Got-Jewel",
|
||||||
"simple_phrase" : {
|
"simple_phrase" : {
|
||||||
@ -45,7 +45,7 @@ curl -XPOST 'localhost:9200/_search' -d {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}'
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
The response contains suggestions scored by the most likely spell
|
The response contains suggestions scored by the most likely spell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user