Add CONSOLE places where it is obviously missing

These places already have other annotations like `// TEST` and
`// TESTSETUP` so they are already in console format.
This commit is contained in:
Nik Everett 2016-09-06 10:46:50 -04:00
parent 2b43c6db3a
commit e03fb602cd
4 changed files with 5 additions and 0 deletions

View File

@ -41,6 +41,7 @@ PUT my_index
}
}
--------------------------------------------------
// CONSOLE
// TEST[warning:geo_point geohash_precision parameter is deprecated and will be removed in the next major release]
// TEST[warning:geo_point geohash_prefix parameter is deprecated and will be removed in the next major release]
// TEST[warning:geo_point geohash parameter is deprecated and will be removed in the next major release]

View File

@ -31,6 +31,7 @@ PUT my_index
}
}
--------------------------------------------------
// CONSOLE
// TEST[warning:geo_point lat_lon parameter is deprecated and will be removed in the next major release]
<1> Setting `lat_lon` to true indexes the geo-point in the `location.lat` and `location.lon` fields.

View File

@ -71,6 +71,7 @@ PUT place_path_category
}
}
--------------------------------------------------
// CONSOLE
// TESTSETUP
<1> Defines a `category` context named 'place_type' where the categories must be
sent with the suggestions.
@ -330,6 +331,7 @@ POST place/_suggest?pretty
}
}
--------------------------------------------------
// CONSOLE
// TEST[continued]
<1> The context query filters for suggestions that fall under
the geo location represented by a geohash of '(43.662, -79.380)'

View File

@ -77,6 +77,7 @@ POST test/test
{"title": "nobel prize"}
POST _refresh
--------------------------------------------------
// CONSOLE
// TESTSETUP
Once you have the analyzers and mappings set up you can use the `phrase`