Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
Дата
Msg-id YiI2GWUWvsvOp02z@momjian.us
обсуждение исходный текст
Ответ на Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres  ("Bayer, Samuel" <sam@mitre.org>)
Ответы Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Fri, Mar 4, 2022 at 10:41:16AM -0500, Bayer, Samuel wrote:
> Example anecdote: the documents I'm searching come with metadata
> (e.g., title), which I'm not indexing specially (not a separate field,
> just part of the raw text of the document). When I search even for
> single terms, and look at the titles of the results, the titles in the
> Solr results more frequently contain that term than the titles in the
> Postgres results. I also FEEL like I've noticed that the problem is
> more apparent in "OR" queries; if I search for a disjunction of terms,
> the documents that contain all the terms are more likely to be high in
> the Solr rankings than in the Postgres rankings.
>
> I apologize for not being able to be more specific.

I know it is hard to quantify.  Is it possible that Postgres is treating
all the terms equally, while Solr is prioritizing terms that are earlier
in the document?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




В списке pgsql-general по дате отправления:

Предыдущее
От: "Bayer, Samuel"
Дата:
Сообщение: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres