Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neMIO-0003bB-O8 for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2022 19:35:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neMIN-0000gv-JT for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2022 19:35:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neMIN-0000gl-8f for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:35:23 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1neMIK-0008KP-IE for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:35:22 +0000 Received: by mail-ej1-x631.google.com with SMTP id l7so33899670ejn.2 for ; Tue, 12 Apr 2022 12:35:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=PfDkkwkHqahBjjRWjddu+sdNqdZgrfS7Zs+an9j42D8=; b=j25+eS6v8vmccfpiAGIcOrK7bDSqU2gUxcyqLpRGjG4ccZ/xUo5+0hlyRhBzo9uoyY S3/6O/UlAGbC/0bBelbmpyyd6CQ/AiXz0eQNvAzMtFC6UvYnkE6Ok+gT6JQVKKLe0J6m IN8aeLsJhQ+mOyrbJGdxnl0GUNh3rAd0puOyjGHl8DwyDVkqPozaKa4TX9UOPQ+w783o jWLzkJI8w8fd+f3NEln4rpg2lnc0tHjuVDV8vNTGcOMe8mHAs4t77oJyJ+KkvnIwunSL gGYtP+UyuFdvMzR3DDDOM0AWDtBSGyYNISPHJYeqDRVh9hvLSxE5EL3tHp2HiKUuTrj/ SuZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=PfDkkwkHqahBjjRWjddu+sdNqdZgrfS7Zs+an9j42D8=; b=Ba8d3O8MxT54nBTEPJZt6wM2BD5dF4tqFp8b5Rq4l7rw5+aeUJkWIn3Halkd4Nv2/D sNw4BOsYZBs92BOg4T3+9RRfyD0MW9k+3VjnkaMWi5IPpaYm72zLKD5lflJqBjtk5MEF EWL6ZaYuQJEjLYm6Z1TGV6h69cZqWFIuz1VS1w5KODWbTyG/ufmeNZ0z8QqyTTbtq+E7 l8ACK2pxaXpERbZHLGDdpMzF8xQXt89UEFr+HrNmt3E6OoJJTkkm6htAbcoaUF4Judld KxMp3iUhcsTBzHqbDlRjBHRSxDXEyD6d+IQce6AeE7ysXT4rxVlQ3MzNXfqVSTh5mPeD PxaA== X-Gm-Message-State: AOAM530j5hvmGvC6g/2abniRs5QUdeCZIAv9zQ8uFmC26odRK8Tv+Ecp +fUS/mKobqIjVWJnL0SMofq+3IR43BrnXqztJHvb1A== X-Google-Smtp-Source: ABdhPJxaNRvZSQqigC1RPZnfMxnlINdtlj4g5LY2P1n3LCNGwf1/2DtLgaVx9CWOpP8yy+D53jhXwprFBa4bwf5kuRY= X-Received: by 2002:a17:907:6d94:b0:6e8:c309:9923 with SMTP id sb20-20020a1709076d9400b006e8c3099923mr876429ejc.101.1649792118795; Tue, 12 Apr 2022 12:35:18 -0700 (PDT) MIME-Version: 1.0 References: <164978902252.1276550.9330175733459697101@wrigleys.postgresql.org> In-Reply-To: <164978902252.1276550.9330175733459697101@wrigleys.postgresql.org> From: Peter Geoghegan Date: Tue, 12 Apr 2022 12:34:52 -0700 Message-ID: Subject: Re: "GIN and GiST Index Types" page is about usage in full text search, but looks general purpose To: piotrowski@prisma.io, Pg Docs Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Apr 12, 2022 at 12:12 PM PG Doc comments form wrote: > Even more effective would be to update the page title and/or headline to > make clear that it is about using GIN and GiST indexes in context of full > text search only. I agree that the overall structure is unclear, and seems to be more of an accident than a deliberate choice. The page in question is "12.9. GIN and GiST Index Types", but it's really supplementary information for "12.2.2. Creating Indexes". The fact that the former has greater prominence than the latter (a general discussion of FTS indexing) seems like a problem in itself. At one point GiST was competitive with GIN for full text search performance (or at least more competitive). These days use of GiST for FTS should be rare. So the title should suggest that GiST FTS indexing is the nonstandard choice. -- Peter Geoghegan