[DOCS] Replace facets example with aggregations in warmers docs

This commit is contained in:
Philip Stevens 2014-06-03 16:48:52 +01:00 committed by Luca Cavanna
parent 6a82d59cb8
commit 4998c0928f
1 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ of search, cold data (segments) will be warmed up before they become
available for search.
Warmup searches typically include requests that require heavy loading of
data, such as faceting or sorting on specific fields. The warmup APIs
data, such as aggregations or sorting on specific fields. The warmup APIs
allows to register warmup (search) under specific names, remove them,
and get them.
@ -33,7 +33,7 @@ curl -XPUT localhost:9200/test -d '{
"query" : {
...
},
"facets" : {
"aggs" : {
...
}
}
@ -56,7 +56,7 @@ curl -XPUT localhost:9200/_template/template_1 -d '
"query" : {
...
},
"facets" : {
"aggs" : {
...
}
}
@ -84,8 +84,8 @@ curl -XPUT localhost:9200/test/_warmer/warmer_1 -d '{
"query" : {
"match_all" : {}
},
"facets" : {
"facet_1" : {
"aggs" : {
"aggs_1" : {
"terms" : {
"field" : "field"
}
@ -102,8 +102,8 @@ curl -XPUT localhost:9200/test/type1/_warmer/warmer_1 -d '{
"query" : {
"match_all" : {}
},
"facets" : {
"facet_1" : {
"aggs" : {
"aggs_1" : {
"terms" : {
"field" : "field"
}