Re: [GENERAL] FTS question

2008-07-01 Thread Damjan Rems
> Um - you're using the full-text indexing. It's > supposed to search words. > > You can use any of the pattern-matching functions / > operators (LIKE etc) > here if you want to explicitly match characters. > http://www.postgresql.org/docs/current/static/functions-matching.html > > If that's no

[GENERAL] FTS question

2008-06-30 Thread Damjan Rems
I created a FTS index: CREATE INDEX clients_fts ON clients USING gist( to_tsvector( 'english', name) ) I can do FTS queries like: SELECT * FROM clients WHERE to_tsvector('english',name) @@ to_tsquery( 'english','somestring'); But if I want to query just part of the string return set is empty: SEL