Re: tsearch2 and pdf files
Magnus Hagander <mha@sollentuna.net>
From: "Magnus Hagander" <mha@sollentuna.net>
To: "Henrik Zagerholm" <henke@mac.se>, "Philip Johnson" <philip.johnson@atempo.com>
Cc: <pgsql-general@postgresql.org>
Date: 2006-12-11T22:08:51Z
Lists: pgsql-general
> 1. Convert PDF to file with e.g xpdf > 2. Insert parsed text to a table of your choice. > 3. Make vectors from the text. Actually, if you're not going to use the headline() function, you cna just store it directly in a vector, cutting down on the size requirements. Just insert to the to_tsvector() result. The full text is required for headline() though, so you can't cheat on that. //Magnus