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

Fix for example to work #744

Open
wants to merge 1 commit into
base: 8.10
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
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}.