Skip to content

Instantly share code, notes, and snippets.

@synhershko

synhershko/ali Secret

Created Feb 4, 2015
Embed
What would you like to do?
DELETE /mytest
PUT /mytest
{
"mappings": {
"test": {
"properties": {
"name": {
"type": "string",
"index": "not_analyzed"
}
}
}
}
}
POST /mytest/test
{
"name": "\\Windows Azure Caching:Client(w3wp_2392)\\Total Local Cache Hits"
}
POST /mytest/_flush
GET /mytest/_mapping
GET /mytest/_search
POST /mytest/test/_search
{
"query": {
"term": {
"name": "\\Windows Azure Caching:Client(w3wp_2392)\\Total Local Cache Hits"
}
}
}
POST /mytest/test/_search
{
"query": {
"wildcard": {
"name": "\\\\Windows Azure Caching:Client(w3wp_*)\\\\Total Local Cache Hits"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment