Skip to content
Open
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
4 changes: 2 additions & 2 deletions .doc/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ This is how you can create a single match query with the low-level API:

[source,go]
----
query := `{ query: { match_all: {} } }`
query := `{ "query": { "match_all": {} } }`
client.Search(
client.Search.WithIndex("my_index"),
client.Search.WithBody(strings.NewReader(query)),
Expand Down Expand Up @@ -225,4 +225,4 @@ typedClient.Indices.Delete("my_index").Do(context.TODO())
== Further reading

* Learn more about the <<typedapi>>, a strongly typed Golang API
for {es}.
for {es}.