Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[NOVICE] Full text indexing on documents outside the DB

From: Leo <fleovey(at)jus.gov.ar>
Date: Thu Feb 14 2008 - 09:02:23 EST


Hello, I have installed the new 8.3 Postgres and all works fine for me. It took some time to reload the old tsearch2 tables, but they are OK now.

My question is: 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" so I don't need a trigger to update the tsvector, all I store is a URL of the text. So what I am looking for is a way to point to a file and create the tsvector. Maybe somebody can help me?
BTW the dictionary does a very nice job ignoring all the HTML junk in the files. Thanks in advance Received on Thu Feb 14 08:02:28 2008

This archive was generated by hypermail 2.1.8 : Thu Jun 19 2008 - 00:06:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library