Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glbri-0000xT-S3 for pgsql-docs@arkaria.postgresql.org; Mon, 21 Jan 2019 15:51:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glbrg-0004Bm-BU for pgsql-docs@arkaria.postgresql.org; Mon, 21 Jan 2019 15:51:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glbrg-0004Bf-2R for pgsql-docs@lists.postgresql.org; Mon, 21 Jan 2019 15:51:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glbrY-000249-VV for pgsql-docs@lists.postgresql.org; Mon, 21 Jan 2019 15:51:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x0LFpjWp030536; Mon, 21 Jan 2019 10:51:45 -0500 From: Tom Lane To: Black White cc: pgsql-docs@lists.postgresql.org Subject: Re: About Portuguese language support of Text Search In-reply-to: References: Comments: In-reply-to Black White message dated "Mon, 21 Jan 2019 16:33:39 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30534.1548085905.1@sss.pgh.pa.us> Date: Mon, 21 Jan 2019 10:51:45 -0500 Message-ID: <30535.1548085905@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Black White writes: > I have a question to confirm with you. In this link > https://www.postgresql.org/docs/10/textsearch-psql.html, pgsql mentions > supporting multiple languages of Text Search, which includes Portuguese. > What I want to confirm is that the supported Portuguese here including both > Brazil Portuguese and Portugal Portuguese? Or just Portugal Portuguese? There's just one "portuguese" configuration in our standard set of text search configurations. The only things that are really language-specific about it are the Snowball stemmer (to discard uninteresting word terminations, such as plurals) and the stop-list of common words to ignore. It might be that neither of those are particularly specific to one dialect of Portuguese --- at least, the upstream Snowball code/docs don't seem to mention anything about that. In any case, you could create your own modified configuration if you don't like what the standard one does. The stopword list, in particular, is quite trivial to modify. regards, tom lane