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 1nQ9rZ-0002fj-5V for pgsql-general@arkaria.postgresql.org; Fri, 04 Mar 2022 15:29:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nQ9rY-00016K-37 for pgsql-general@arkaria.postgresql.org; Fri, 04 Mar 2022 15:29:00 +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 1nQ9rX-00016B-P4 for pgsql-general@lists.postgresql.org; Fri, 04 Mar 2022 15:28:59 +0000 Received: from smtpvbsrv1.mitre.org ([198.49.146.234]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nQ9rT-0001bg-FZ for pgsql-general@lists.postgresql.org; Fri, 04 Mar 2022 15:28:59 +0000 Received: from smtpvbsrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 70F135F09D3; Fri, 4 Mar 2022 10:28:53 -0500 (EST) Received: from smtprhbv1.mitre.org (unknown [10.20.0.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpvbsrv1.mitre.org (Postfix) with ESMTPS id 4D2025F09ED; Fri, 4 Mar 2022 10:28:53 -0500 (EST) Received: from [100.64.0.1] (f5-infra-prod-vl2218-fip.mitre.org [10.20.118.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtprhbv1.mitre.org (Postfix) with ESMTPS id 069FA93DF7F; Fri, 4 Mar 2022 10:28:52 -0500 (EST) Message-ID: Date: Fri, 4 Mar 2022 10:28:52 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [EXT] Re: Looking for tips on improving full-text search quality in Postgres Content-Language: en-US To: Bruce Momjian Cc: pgsql-general@lists.postgresql.org References: <7ce98668-3fdb-254a-fa81-f1c4d09e6607@mitre.org> <23582_1646407541_62222F75_23582_337_5_YiIvdEhT5BecGxPY@momjian.us> From: "Bayer, Samuel" In-Reply-To: <23582_1646407541_62222F75_23582_337_5_YiIvdEhT5BecGxPY@momjian.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MITRE: 8GQsMWxq66rxk57w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitre.org; h=message-id:date:mime-version:subject:to:cc:references:from:in-reply-to:content-type:content-transfer-encoding; s=BTxNELhf; bh=VBFc6Vzk0YVpuKr5y8LdwiZjv0knDk779/XN0EZXHiY=; b=GqBDMUaPsgqjYpv1LbJeQ2HkOFzn9tcgsH2O1nJgSehqrMlTIx0huPmLG3+QwMRys2V/lzUrBAkh33cZ/T7k4DpTQB6VL1fPBJhzt1YGqWP/LnNvfR+ZZP/iu1pPbwaCjn0Rnt/m2yRhV15QjlebHFFXbqIiqDZ0Yl7zH5RvELY= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thanks for replying. My problem is that I can't provide enough guidance on what isn't working, because (a) I don't have good enough intuitions about how the normalization options are expected to affect the results, and (b) I can't identify a specific missing function - I'm just observing that I can't make the results as high-quality as Solr. My apologies. Sam On 3/4/22 10:25 AM, Bruce Momjian wrote: > On Fri, Mar 4, 2022 at 08:10:48AM -0500, Bayer, Samuel wrote: >> Hi all - >> >> When I have a need for both sophisticated database querying and >> full-text search, I'd rather not stand up a technology stack with >> multiple tools (e.g., Postgres and Apache Solr, or Postgres and >> ElasticSearch with a zomboDB bridge). So I've been looking at the >> Postgres full-text search capability, and comparing it to Apache >> Solr. My experience so far - which has not been entirely anecdotal, >> but hasn't amounted to a formal TREC-style evaluation - is that >> Postgres full-text search, in any ranking/normalization configuration >> I can create, is reliably worse than Solr. Now, I understand that the >> whole point of Solr is search, and this is a sideline for Postgres, >> but I'd like to figure out how close Postgres can get, and while I'm >> knowledgeable about search technologies, I'm not an expert. And I've >> looked for information on the Web about comparing Postgres search >> to other search capabilities, and everything I've found so far is >> extremely basic. >> >> Does anybody have any pointers to resources (people, sites, journal >> articles, blogs, etc.) which are deeply knowledgeable about this >> comparison? > > Uh, most of our full text seach is done by Russian developers, who are > obviously very good at it. It would be helpful if you could list > exactly what is missing and then we can have a discussion the hackers > list to see what is possible. I think it would be helpful if we just > document what we _don't_ have. >