django-planet
Jan. 3, 2024

PostgreSQL: Full text search with the “websearch” syntax

published by Adam Johnson
in blog Adam Johnson
original entry PostgreSQL: Full text search with the “websearch” syntax

PostgreSQL’s powerful full text search feature supports several query syntaxes. Of these, a website search feature should typically pick the websearch syntax. websearch copies some features from popular search engines, as covered below, offering familiar short syntax to users. It is also forgiving and will never raise a syntax …