Previously, all examples in this section were GET requests. This demonstrates that other CRUD operations are also supported.
This commit is contained in:
parent
dfd502f9ca
commit
877ecd5b66
|
@ -85,19 +85,10 @@ You must enclose date math index name expressions within angle brackets, and
|
||||||
all special characters should be URI encoded. For example:
|
all special characters should be URI encoded. For example:
|
||||||
|
|
||||||
[source,console]
|
[source,console]
|
||||||
----------------------------------------------------------------------
|
----
|
||||||
# GET /<logstash-{now/d}>/_search
|
# PUT /<my-index-{now/d}>
|
||||||
GET /%3Clogstash-%7Bnow%2Fd%7D%3E/_search
|
PUT /%3Cmy-index-%7Bnow%2Fd%7D%3E
|
||||||
{
|
----
|
||||||
"query" : {
|
|
||||||
"match": {
|
|
||||||
"test": "data"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
----------------------------------------------------------------------
|
|
||||||
// TEST[s/^/PUT logstash-2016.09.20\n/]
|
|
||||||
// TEST[s/now/2016.09.20%7C%7C/]
|
|
||||||
|
|
||||||
[NOTE]
|
[NOTE]
|
||||||
.Percent encoding of date math characters
|
.Percent encoding of date math characters
|
||||||
|
|
Loading…
Reference in New Issue