Skip to content

Commit

Permalink
Make sure to use TESTSETUP for populating the index.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtibshirani committed Nov 8, 2018
1 parent 717beb7 commit 03e0008
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/reference/mapping/types/json.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ POST bug_reports/_doc/1
}
--------------------------------
// CONSOLE
// TESTSETUP

During indexing, tokens are created for each leaf value in the JSON object. The
values are indexed as string keywords, without analysis or special handling for
Expand All @@ -81,7 +82,6 @@ POST bug_reports/_search
}
--------------------------------
// CONSOLE
// TEST[continued]

To query on a specific key in the JSON object, object dot notation is used:
[source,js]
Expand All @@ -94,7 +94,6 @@ POST bug_reports/_search
}
--------------------------------
// CONSOLE
// TEST[continued]

[[supported-operations]]
==== Supported operations
Expand Down Expand Up @@ -133,7 +132,6 @@ POST bug_reports/_search
}
--------------------------------
// CONSOLE
// TEST[continued]

Field keys cannot be used to load stored content. For example, specifying
`"stored_fields": ["labels.timestamp"]` will return an empty list.
Expand Down

0 comments on commit 03e0008

Please sign in to comment.