On Oct 13, 2009, at 11:21 PM, Gaini Rajeshwar wrote:
doc_id -- Name of the column. It's data type is integer
The strict error message is correct: The full-text search feature of PostgreSQL can only index text strings, and doc_id (as an integer) is not a text string. What precisely are you attempting to do? Do you want to index the text version of the doc_id field (for example, if doc_id is 12345, you want to include the literal string "12345" in the index), or is doc_id a key into another table, and you want to include some text fields from that other table in the index?
-- -- Christophe Pettus xof@xxxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general