Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specifies which index to search in docs for various queries (#43307) #43428

Merged
merged 1 commit into from
Jun 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/reference/query-dsl/geo-bounding-box-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Then the following simple query can be executed with a

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down Expand Up @@ -94,7 +94,7 @@ representations of the geo point, the filter can accept it as well:

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down Expand Up @@ -129,7 +129,7 @@ conform with http://geojson.org/[GeoJSON].

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down Expand Up @@ -157,7 +157,7 @@ Format in `lat,lon`.

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand All @@ -183,7 +183,7 @@ GET /_search

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand All @@ -208,7 +208,7 @@ GET /_search

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down Expand Up @@ -243,7 +243,7 @@ geohash the geohash can be specified in both `top_left` and

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"geo_bounding_box" : {
Expand Down Expand Up @@ -273,7 +273,7 @@ values separately.

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down Expand Up @@ -323,7 +323,7 @@ are not supported. Here is an example:

[source,js]
--------------------------------------------------
GET /_search
GET my_locations/_search
{
"query": {
"bool" : {
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/search/suggesters/phrase-suggest.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ The response contains suggestions scored by the most likely spell correction fir

[source,js]
--------------------------------------------------
POST _search
POST test/_search
{
"suggest": {
"text" : "noble prize",
Expand Down Expand Up @@ -293,7 +293,7 @@ properties that can be configured.

[source,js]
--------------------------------------------------
POST _search
POST test/_search
{
"suggest": {
"text" : "obel prize",
Expand Down Expand Up @@ -414,7 +414,7 @@ accept ordinary analyzer names.

[source,js]
--------------------------------------------------
POST _search
POST test/_search
{
"suggest": {
"text" : "obel prize",
Expand Down