Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 63861 invoked from network); 30 Jun 2009 07:53:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 07:53:31 -0000 Received: (qmail 86787 invoked by uid 500); 30 Jun 2009 07:53:41 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 86698 invoked by uid 500); 30 Jun 2009 07:53:41 -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 86690 invoked by uid 99); 30 Jun 2009 07:53:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 07:53:40 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 07:53:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MLY9M-000058-Sa for java-dev@lucene.apache.org; Tue, 30 Jun 2009 00:53:08 -0700 Message-ID: <24267670.post@talk.nabble.com> Date: Tue, 30 Jun 2009 00:53:08 -0700 (PDT) From: B0DYLANG To: java-dev@lucene.apache.org Subject: Re: customizing lucene formula In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ramihailat@yahoo.com References: <24216772.post@talk.nabble.com> <0E1E387C-43D1-4561-A35B-1C1A10D05785@apache.org> <24246152.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Grant Ingersoll-6 wrote: > > See the Payloads functionality along with the BoostingTermQuery. > > > On Jun 28, 2009, at 6:23 PM, B0DYLANG wrote: > >> >> Thanks for your response, what i want to do is to add a function >> like the log >> to the well know lucene formula, this function will take its >> argument from >> the alredy indexed data, for example if we add a field like this >> >> new Field("terms","word,100;word,300",....); >> so when the score returned the second word will have higher score >> from the >> first one >> >> >> >> Grant Ingersoll-6 wrote: >>> >>> The source code is available. I'd start with the Similarity class >>> and >>> see if it can be used. Before that, however, you might describe what >>> it is you are interested in doing. Perhaps there is an alternate way >>> that doesn't involve editing the source. >>> >>> >>> On Jun 26, 2009, at 4:31 AM, B0DYLANG wrote: >>> >>>> >>>> Dears, >>>> >>>> i want to add some arguments to the lucene formula or override it, >>>> is there >>>> a mean of doing so ? thanks for your response. >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/customizing-lucene-formula-tp24216772p24216772.html >>>> Sent from the Lucene - Java Developer mailing list archive at >>>> Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >>>> For additional commands, e-mail: java-dev-help@lucene.apache.org >>>> >>> >>> -------------------------- >>> Grant Ingersoll >>> http://www.lucidimagination.com/ >>> >>> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) >>> using Solr/Lucene: >>> http://www.lucidimagination.com/search >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >>> For additional commands, e-mail: java-dev-help@lucene.apache.org >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/customizing-lucene-formula-tp24216772p24246152.html >> Sent from the Lucene - Java Developer mailing list archive at >> Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org >> For additional commands, e-mail: java-dev-help@lucene.apache.org >> > > -------------------------- > Grant Ingersoll > http://www.lucidimagination.com/ > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) > using Solr/Lucene: > http://www.lucidimagination.com/search > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > > -- View this message in context: http://www.nabble.com/customizing-lucene-formula-tp24216772p24267670.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org