From 1b7638f60e7d62ef86522b4670dc188c2a0a8670 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 21 Jan 2023 00:48:00 +0900 Subject: [PATCH] Polish docs --- docs/getting-started/connecting.asciidoc | 2 +- docs/getting-started/installation.asciidoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/connecting.asciidoc b/docs/getting-started/connecting.asciidoc index 71b13867b..51a42b776 100644 --- a/docs/getting-started/connecting.asciidoc +++ b/docs/getting-started/connecting.asciidoc @@ -27,7 +27,7 @@ configuring authentication, refer to ==== Your first request The code snippet below searches all items from a “product” index whose name -matches “bicycle” and return them as instances of a `Product` application class. +matches “bicycle” and returns them as instances of a `Product` application class. It illustrates the use of fluent functional builders to write search queries as concise DSL-like code. This pattern is explained in more detail in diff --git a/docs/getting-started/installation.asciidoc b/docs/getting-started/installation.asciidoc index 43715feda..482797162 100644 --- a/docs/getting-started/installation.asciidoc +++ b/docs/getting-started/installation.asciidoc @@ -95,7 +95,7 @@ dependencies { Some frameworks like Spring Boot or Helidon come with their Gradle and Maven plugins or their Maven BOM files to ease development and dependency management. These plugins and BOM define the versions to use for a number of well-known libraries. -One these libraries can be `jakarta.json:json-api` that defines the standard Java JSON API. In version `1.x` this library used the `javax.json` package, while in version `2.x` it uses the `jakarta.json` package after https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee[the transition from JavaEE to JakartaEE]. +One of these libraries can be `jakarta.json:json-api` that defines the standard Java JSON API. In version `1.x` this library used the `javax.json` package, while in version `2.x` it uses the `jakarta.json` package after https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee[the transition from JavaEE to JakartaEE]. The {java-client} depends on version `2.0.1` of this library, in order to use the newer and future-proof `jakarta.json` package. But some build plugins and BOMs override the {java-client}'s dependency to use version `1.x` in the older `javax.json` namespace, resulting in `ClassNotFoundException: jakarta.json.spi.JsonProvider`.