Обсуждение: Partial matches on full text searches.

Поиск
Список
Период
Сортировка

Partial matches on full text searches.

От
Tim Uckun
Дата:
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