mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:53:32 +08:00
fc311dbe3b
On very large forums searching posts can be slow, so this commit introduces the ability to try and search only the most recent posts first, and then going for a larger breadth search if there aren't enough results. Enable `search_prefer_recent_posts` and you can customize how many recent posts to filter with `search_recent_posts_size` |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures | ||
helpers | ||
integration | ||
integrity | ||
jobs | ||
mailers | ||
models | ||
phantom_js | ||
serializers | ||
services | ||
support | ||
views/omniauth_callbacks | ||
rails_helper.rb |