Re: 9.6 phrase search distance specification

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.6 phrase search distance specification
Дата
Msg-id 30887.1470765505@sss.pgh.pa.us
обсуждение исходный текст
Ответ на 9.6 phrase search distance specification  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: 9.6 phrase search distance specification  (Bruce Momjian <bruce@momjian.us>)
Re: 9.6 phrase search distance specification  (Ryan Pedela <rpedela@datalanche.com>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Does anyone know why the phrase distance "<3>" was changed from "at most
> three tokens away" to "exactly three tokens away"?

So that it would correctly support phraseto_tsquery's use of the operator
to represent omitted words (stopwords) in a phrase.

I think there's probably some use in also providing an operator that does
"at most this many tokens away", but Oleg/Teodor were evidently less
excited, because they didn't take the time to do it.

The thread where this change was discussed is

https://www.postgresql.org/message-id/flat/c19fcfec308e6ccd952cdde9e648b505%40mail.gmail.com

see particularly

https://www.postgresql.org/message-id/11252.1465422251%40sss.pgh.pa.us
        regards, tom lane



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: patch: xmltable - proof concept
Следующее
От: Robert Haas
Дата:
Сообщение: Re: dsm_unpin_segment