Text searching HTML - Mailing list pgsql-sql

From Campbell, Lance
Subject Text searching HTML
Date
Msg-id B75CD08C73BD3543B97E4EF3964B7D701FC741C9@CITESMBX1.ad.uillinois.edu
Whole thread Raw
Responses Re: Text searching HTML
List pgsql-sql

PostgreSQL 9.3

Is there a preferred way to search text within an HTML document?  I have been reading up on searching via to_tsvector.  You can pass the to_tsvector two parameters.  The first appears to be a dictionary and the second text.  Is there by chance an English HTML dictionary?  That way html tags or html attributes would be ignored.

 

If not then what would be the suggested dictionary?  Simple or English or something else.

 

Thanks for your assistance.

 

 

Thanks,

 

Lance Campbell

Software Architect

Web Services at Public Affairs

217-333-0382

University of Illinois at Urbana-Champaign logo

 

 

pgsql-sql by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: INT8 / float casting question
Next
From: Tom Lane
Date:
Subject: Re: Text searching HTML