Skip to content

Commit

Permalink
Updating comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Jan 17, 2025
1 parent 66fa252 commit b9ed325
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public List<String> runQuery(final String index, final String query, final int k
LOGGER.debug("Running query on index {}, k = {}, userQuery = {}, idField = {}, pipeline = {}, query = {}", index, k, userQuery, idField, pipeline, parsedQuery);

// Use a generic client to get around https://github.com/opensearch-project/OpenSearch/issues/16829
// Refer to https://code.dblock.org/2023/10/16/making-raw-json-rest-requests-to-opensearch.html#:~:text=build()%3B,Here's%20a%20search%20example.&See%20the%20updated%20documentation%20and%20working%20demo%20for%20more%20information.
// Refer to https://code.dblock.org/2023/10/16/making-raw-json-rest-requests-to-opensearch.html
final OpenSearchGenericClient genericClient = client.generic().withClientOptions(OpenSearchGenericClient.ClientOptions.throwOnHttpErrors());

final Map<String, String> params = new HashMap<>();
Expand Down

0 comments on commit b9ed325

Please sign in to comment.