Re: Range phrase operator in tsquery

2018-11-30 Thread Dmitry Dolgov
> On Thu, Nov 15, 2018 at 11:15 PM Dmitry Dolgov <9erthali...@gmail.com> wrote: > > > On Fri, 27 Apr 2018 at 13:03, Aleksandr Parfenov > > wrote: > > > > Nowadays, phrase operator in Postgres FTS supports only exact match of > > the distance between two words. It is sufficient for a search of > >

Re: Range phrase operator in tsquery

2018-11-15 Thread Dmitry Dolgov
> On Fri, 27 Apr 2018 at 13:03, Aleksandr Parfenov > wrote: > > Nowadays, phrase operator in Postgres FTS supports only exact match of > the distance between two words. It is sufficient for a search of > simple/exact phrases, but in some cases exact distance is unknown and we > want to words be c

Re: Range phrase operator in tsquery

2018-07-09 Thread Aleksandr Parfenov
Hello hackers, Updated version of the patch in the attachment. -- Aleksandr Parfenov Postgres Professional: http://www.postgrespro.com Russian Postgres Company diff --git a/doc/src/sgml/textsearch.sgml b/doc/src/sgml/textsearch.sgml index 8075ea94e7..a661373d1b 100644 --- a/doc/src/sgml/textsear

Range phrase operator in tsquery

2018-04-27 Thread Aleksandr Parfenov
Hello hackers, Nowadays, phrase operator in Postgres FTS supports only exact match of the distance between two words. It is sufficient for a search of simple/exact phrases, but in some cases exact distance is unknown and we want to words be close enough. E.g. it may help to search phrases with add