X-Original-To: pgsql-docs-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8E3069FB2AC; Sat, 26 Aug 2006 13:21:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 30452-10; Sat, 26 Aug 2006 13:21:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id C31149FB59C; Sat, 26 Aug 2006 13:21:04 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id k7QGL2029210; Sat, 26 Aug 2006 12:21:02 -0400 (EDT) From: Bruce Momjian Message-Id: <200608261621.k7QGL2029210@momjian.us> Subject: Re: New XML section for documentation In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA0FB72@algol.sollentuna.se> To: Magnus Hagander Date: Sat, 26 Aug 2006 12:21:02 -0400 (EDT) CC: PostgreSQL-development , PostgreSQL-documentation , Peter Eisentraut X-Mailer: ELM [version 2.4ME+ PL123] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.129 tagged_above=0 required=5 tests=AWL, SPF_HELO_PASS, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/50 X-Sequence-Number: 3668 Magnus Hagander wrote: > > 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). Good point, added. -- Bruce Momjian bruce@momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +