tsearch2 match substrings - Mailing list pgsql-general

From Abbath
Subject tsearch2 match substrings
Date
Msg-id 00d701c63eca$5c5b96e0$3b00a8c0@abbath
Whole thread Raw
Responses Re: tsearch2 match substrings
List pgsql-general
Hi,

Is it possible using tsearch2 to match a substring of an element of a ts_vec
column?

For example: I have a table with a ts_vec, and I have a field with text, and
if there is a value in the field "I would like to match the beginning of the
words" - and the ts_vec has " 'like':3 'match':5 'begin':7 ...etc" then it
would be cool to create a query, which give me a headline for "begin" if I
just use the "beg" (or "beg*" ) search expression.

Is there a way to solve this?

Thanks in advance.

Abbath


pgsql-general by date:

Previous
From: Agnes Bocchino
Date:
Subject: Re: Question about the contrib rpm ?
Next
From: "Sascha Nepper"
Date:
Subject: Re: ERROR: column "datpath" does not exist