Skip site navigation (1) Skip section navigation (2)

Full text indexing of documents

From: "Leo" <fleovey(at)jus(dot)gov(dot)ar>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Full text indexing of documents
Date: 2008-02-18 15:08:06
Message-ID: 000601c87240$11413a60$232401c8@leo (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
How can I create the tsvector data for large text files WITHOUT loading the text into a column of the DB? 
I did it using 2 tables (one with the text inserted with a perl program) and copying the tsvectors and removing the table with the text, but it is not easy to add data this way. 
The text files are "frozen" HTML documents so I don't need a trigger to update the tsvector, all I store is a URL of the text. 
So what I need  is a way to point to a file (maybe there is a special data type?) and create the tsvector from the document. 


pgsql-novice by date

Next:From: Vishal MailinglistDate: 2008-02-18 15:49:46
Subject: Using Regular expresion
Previous:From: John GuntherDate: 2008-02-18 14:15:43
Subject: Re: Populating an array from a select statement

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group