Re: [DOCS] New XML section for documentation - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: [DOCS] New XML section for documentation
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCEA0FB72@algol.sollentuna.se
Whole thread Raw
In response to New XML section for documentation  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [DOCS] New XML section for documentation  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
> Indexing
> --------
> Because XML documents are stored as text, full-text indexing tool
> /contrib/tsearch2 can be used to index XML documents.  Of
> course, the searches are text searches, with no XML
> awareness, but tsearch2 can be used with other XML
> capabilities to dramatically reduce the amount of data
> processed at the XML level.


You can also use a functional index and /contrib/xml2 to do limited
XPath indexing. (Can't make it "subtree-aware" for example, unless you
are willing to change your queries, but you can index specific xpath
nodes).


//Magnus

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Coding style for emacs
Next
From: Peter Eisentraut
Date:
Subject: Re: New XML section for documentation