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 1o4kTu-0000aT-MK for pgsql-docs@arkaria.postgresql.org; Fri, 24 Jun 2022 14:40:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o4kTt-0000Y0-E9 for pgsql-docs@arkaria.postgresql.org; Fri, 24 Jun 2022 14:40:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4kTt-0000Xq-6t for pgsql-docs@lists.postgresql.org; Fri, 24 Jun 2022 14:40:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4kTr-0006nX-4O for pgsql-docs@lists.postgresql.org; Fri, 24 Jun 2022 14:40:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 25OEeHrb355734; Fri, 24 Jun 2022 10:40:17 -0400 From: Tom Lane To: postgresql@wchargin.com cc: pgsql-docs@lists.postgresql.org Subject: Re: No search results for "BETWEEN" In-reply-to: <165600177616.879893.13980346362169630574@wrigleys.postgresql.org> References: <165600177616.879893.13980346362169630574@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Thu, 23 Jun 2022 16:29:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <355732.1656081617.1@sss.pgh.pa.us> Date: Fri, 24 Jun 2022 10:40:17 -0400 Message-ID: <355733.1656081617@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form writes: > Searching for "the between predicate simplifies range tests" does turn > up a hit for that page, so it's indexed, but the words "The BETWEEN" are > not set in bold in the search result. Perhaps "BETWEEN" is being treated > as a stop word, even though it's capitalized and an SQL keyword? A quick grep shows that if "between" weren't a stopword, it would produce almost 600 hits in our core docs, most of which are not what you're looking for. So I concur with somebody's apparent decision to make it a stopword. Use the index. regards, tom lane