Is postresql capable of doing a full text search, based on 'half' a word?
For example I'm trying to seach for "tree"
, but I tell postgres to search for "tr"
.
I can't find such a solution that is capable of doing this.
Currently I'm using
select * from test, to_tsquery('tree') as q where vectors @@ q ;
But I'd like to do something like this:
select * from test, to_tsquery('tr%') as q where vectors @@ q ;