# Como garantir que os resultados da pesquisa mostrem as postagens mais recentes por padrão?

**URL:** https://meta.discourse.org/t/how-do-i-make-sure-search-results-show-most-recent-posts-by-default/270900
**Category:** Support
**Created:** [Julho 7, 2023, 4:10pm UTC](https://meta.discourse.org/t/how-do-i-make-sure-search-results-show-most-recent-posts-by-default/270900 "2023-07-07T16:10:57Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [Julho 7, 2023, 5:35pm UTC](https://meta.discourse.org/t/how-do-i-make-sure-search-results-show-most-recent-posts-by-default/270900/2 "2023-07-07T17:35:56Z")

</div>

esta postagem pode ajudar

> [@Add site setting to default search results sort by latest post instead of relevance](https://meta.discourse.org/t/default-search-results-sort-by-latest-post-instead-of-relevance/140294/6?u=lillinator):
>
> Have you seen the search prefer recent posts if you enable this and tune search\_recent\_posts\_size to have about the number of posts you had in the last year it would prioritize these recent searches first. We don’t have a site setting that forces a site into latest mode at the moment, I am not categorically against this being a site admin pref, but our usual way around it is simply to add the letter l to the end of searches to get this behavior. Technically a theme component could achieve thi…

além disso, é por isso que o padrão é relevância e não data recente:

> [@Add site setting to default search results sort by latest post instead of relevance](https://meta.discourse.org/t/default-search-results-sort-by-latest-post-instead-of-relevance/140294/5?u=lillinator):
>
> If you have categories where the information ages out why not have your staff curate them, or set auto deletion? Sorting by latest also otherwise risks losing visibility of your most valuable content.

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-make-sure-search-results-show-most-recent-posts-by-default/270900)._
