mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 08:34:41 +08:00
FIX: Bump up backfill size to 50
This commit is contained in:
@ -570,7 +570,7 @@ class Search
|
|||||||
min_id = Search.min_post_id
|
min_id = Search.min_post_id
|
||||||
if min_id > 0
|
if min_id > 0
|
||||||
fast_query = posts.dup.where("post_search_data.post_id >= #{min_id}")
|
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
|
end
|
||||||
|
|
||||||
exact_terms = @term.scan(/"([^"]+)"/).flatten
|
exact_terms = @term.scan(/"([^"]+)"/).flatten
|
||||||
|
Reference in New Issue
Block a user