Skip to content
Advertisement

creating a full text index in SQL database

I am searching for a database solution for real full text indexing. I have read Postgres’ full text search chapter but it describes text searching which is not a “full” index and it is heuristic in nature.
However I found this https://pgpedia.info/f/fulltextindex.hml contrib/fulltextindex module which sound promising.

So my questions are as follows.
why was it removed in PostgreSQL 8.1?
how can I use it?
are there other alternative database solutions that do support this kind of feature?
what is the performance one can expect?

Advertisement

Answer

The index to use for full-text search is a GiST index, and there is nothing heuristic about it (except the “picksplit” algorithm). “fulltextindex” was removed in 8.2, and full text search got added to core in 8.3, so that’s what you should use.

Read the WARNING file from release 8.1:

PostgreSQL is open source. To see the discussion that led to the removal of the module, search the archives. You will find this and this.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement