From 19c4165da1dc8f4b9ebb6520f89e9aa65faa0454 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Sat, 19 Feb 2022 00:27:14 -0800 Subject: [PATCH] Updated readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f28edfa..e16c37b 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Get the full response from the search server results.response ``` -**Note:** By default, Elasticsearch and OpenSearch [limit paging](#deep-paging) to the first 10,000 results for performance. With Elasticsearch 7 and OpenSearch, this applies to the total count as well. +**Note:** By default, Elasticsearch and OpenSearch [limit paging](#deep-paging) to the first 10,000 results for performance. This applies to the total count as well. ### Boosting @@ -1757,7 +1757,7 @@ class Product < ApplicationRecord end ``` -If you just need an accurate total count with Elasticsearch 7 and OpenSearch, you can instead use: +If you just need an accurate total count, you can instead use: ```ruby Product.search("pears", body_options: {track_total_hits: true}) -- libgit2 0.21.0