Re: tsearch2 and pdf files - Mailing list pgsql-general

From philip johnson
Subject Re: tsearch2 and pdf files
Date
Msg-id 2590.82.230.159.163.1165878526.squirrel@webmail.atempo.com
Whole thread Raw
In response to Re: tsearch2 and pdf files  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: tsearch2 and pdf files  ("Magnus Hagander" <mha@sollentuna.net>)
List 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.
What 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>



pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: forcing compression of text field
Next
From: SCassidy@overlandstorage.com
Date:
Subject: Re: shell script to populate array values