Search Postgresql Archives

Partial matches on full text searches.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to understand this bit of documentation about GIST and GIN searches

Also, * can be attached to a lexeme to specify prefix matching:

SELECT to_tsquery('supern:*A & star:A*B');
        to_tsquery
--------------------------
 'supern':*A & 'star':*AB


I tried various experiments but can't seem to be able to pinpoint a
way to matches similar to ILIKE.

Let's say I want to query some addresses and I want to find be able to
differentiate between PARK LANE and LINCOLN PARK and SPARK STREET  how
do I specify these in a tsquery?

Also...

Is it possible to do partial matches on values in a hstore I would
like to differentiate between ADDRESS=>"PARK LANE" and LAST_NAME=>PARK

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux