Resultados da pesquisa devem priorizar a primeira postagem no tópico quando o título corresponder ao termo de pesquisa

The idea is that we will make UX changes to make this obvious.

The idea is sound but I don’t think we can execute the postgres search query efficiently since there is no index support when trying to match with the like and ilike operators. Another factor to consider is that there is no way to rank exact match or contains matches. This is the reason why we rely full text search capabilities that Postgres provides.

1 curtida