From java-dev-return-26710-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Thu Aug 07 20:46:26 2008 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 35035 invoked from network); 7 Aug 2008 20:46:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2008 20:46:26 -0000 Received: (qmail 10043 invoked by uid 500); 7 Aug 2008 20:46:24 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 9656 invoked by uid 500); 7 Aug 2008 20:46:23 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 9647 invoked by uid 99); 7 Aug 2008 20:46:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 13:46:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [69.44.16.11] (HELO getopt.org) (69.44.16.11) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2008 20:45:26 +0000 Received: from [192.168.1.101] ([81.219.54.251]) (authenticated) by getopt.org (8.11.6/8.11.6) with ESMTP id m77Kj7d03533 for ; Thu, 7 Aug 2008 15:45:07 -0500 Message-ID: <489B5EBE.1030602@getopt.org> Date: Thu, 07 Aug 2008 22:44:46 +0200 From: Andrzej Bialecki User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Re: lucene scoring References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Александр Аристов wrote: > I want implement searching with ability to set so-called a confidence > level below which I would treat documents as garbage. I cannot defile > the level per query as the level should be relevant for all > documents. Hmm .. I'm not sure if I understand it properly - if the level is query-independent, then it's a constant factor, which you can put in a field during the index creation - and then you could use a Filter or FunctionQuery to exclude documents with this factor below the threshold. -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org