From 4bb6f88181ad88d7819b882190abca704ab4f48d Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 10 Aug 2016 17:51:29 -0400 Subject: [PATCH] FIX: Bump up backfill size to 50 --- lib/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/search.rb b/lib/search.rb index 2333fe7d222..020b58352ae 100644 --- a/lib/search.rb +++ b/lib/search.rb @@ -570,7 +570,7 @@ class Search min_id = Search.min_post_id if min_id > 0 fast_query = posts.dup.where("post_search_data.post_id >= #{min_id}") - posts = fast_query if fast_query.dup.count >= 20 + posts = fast_query if fast_query.dup.count >= 50 end exact_terms = @term.scan(/"([^"]+)"/).flatten