X-Original-To: pgsql-docs-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 484079FBEAD; Sat, 26 Aug 2006 02:19:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 25573-03; Sat, 26 Aug 2006 05:19:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx-2.sollentuna.net (mx-2.sollentuna.net [195.84.163.199]) by postgresql.org (Postfix) with ESMTP id 316349FBEA9; Sat, 26 Aug 2006 02:19:38 -0300 (ADT) Received: from ALGOL.sollentuna.se (janus.sollentuna.se [62.65.68.67]) by mx-2.sollentuna.net (Postfix) with ESMTP id 9E3B4F410A; Sat, 26 Aug 2006 07:19:37 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Subject: Re: New XML section for documentation Date: Sat, 26 Aug 2006 07:19:38 +0200 Message-ID: <6BCB9D8A16AC4241919521715F4D8BCEA0FB72@algol.sollentuna.se> In-Reply-To: <200608252346.k7PNkvT15748@momjian.us> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [DOCS] New XML section for documentation Thread-Index: AcbIoNCEoesPCfsZSU+XqOdJL1hyeQALfn7w From: "Magnus Hagander" To: "Bruce Momjian" , "PostgreSQL-development" , "PostgreSQL-documentation" Cc: "Peter Eisentraut" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.134 tagged_above=0 required=5 tests=FORGED_RCVD_HELO, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/46 X-Sequence-Number: 3664 > Indexing > -------- > Because XML documents are stored as text, full-text indexing tool > /contrib/tsearch2 can be used to index XML documents. Of=20 > course, the searches are text searches, with no XML=20 > awareness, but tsearch2 can be used with other XML=20 > capabilities to dramatically reduce the amount of data=20 > 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).=20 //Magnus