Browse Source

[DOCS] Replace facets example with aggregations in warmers docs

Philip Stevens 11 years ago
parent
commit
4998c0928f
1 changed files with 7 additions and 7 deletions
  1. 7 7
      docs/reference/indices/warmers.asciidoc

+ 7 - 7
docs/reference/indices/warmers.asciidoc

@@ -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"
             }