-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi there, will pg_textsearch allow indexes over multiple columns? Like what Elasticsearch does. In this case, a term is a combination of "column" and "term", this allows better performance for queries like:
title:postgres AND body:searchbecause terms "title:postgres" and "body:search" belong to the same index, we can simply fetch the IDs of the documents that contain them, intersect the IDs, then return. The con of this design is that an update to a column needs us to re-index all the columns (the whole document in ES's term).
kohenkatz
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request