Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 63390 invoked from network); 29 Jan 2009 19:28:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jan 2009 19:28:37 -0000 Received: (qmail 25183 invoked by uid 500); 29 Jan 2009 19:28:33 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 25151 invoked by uid 500); 29 Jan 2009 19:28:33 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 25140 invoked by uid 99); 29 Jan 2009 19:28:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 11:28:33 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liquidpele@gmail.com designates 209.85.219.19 as permitted sender) Received: from [209.85.219.19] (HELO mail-ew0-f19.google.com) (209.85.219.19) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jan 2009 19:28:24 +0000 Received: by ewy12 with SMTP id 12so175692ewy.5 for ; Thu, 29 Jan 2009 11:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ilkDm+aM1W5fBn2ZGo6lvJ477EF/5Q9qszY4BUSBGyA=; b=FLUW0XLbkNBkDSnTXn7WduaNeXOHSzrFEuw4k/N+33zhIDqmHJ/jMsEbvksHjHyGZA IuqvkBViHdakbiNv0gD+1rTc+E8v1rGJIouBvbgiw7Hlkt1BhKaAic253trw/TGn+JeW 1l4zsMwVGLXgtTZgiTaY5fXKKbPwOEJcz/Pig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ISUDY3ASdWC/n/U5qkeGY1sRRAVQQrBU4CD5c6+an1vmq1DULLyQhh+iasjWDQUE7/ 1VcsHphpBp82IcvHvrE/fZEgel/LaCIGioQFP3hYi9+l/hfr7DempMLKgzD/0HwySuef hzWq8UdzGukcAQew6Aj8v2sBeUE8oUHmpwZYs= MIME-Version: 1.0 Received: by 10.103.93.18 with SMTP id v18mr208497mul.43.1233257263872; Thu, 29 Jan 2009 11:27:43 -0800 (PST) In-Reply-To: <3A862DFF-E368-452F-9452-0F5AF9F2FF1B@zappos.com> References: <3A862DFF-E368-452F-9452-0F5AF9F2FF1B@zappos.com> Date: Thu, 29 Jan 2009 14:27:43 -0500 Message-ID: Subject: Re: Question about rating documents From: Reece To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hmm, I already boost certain fields, but from what I know about it you would need to know the boost value ahead of time which is not possible as it would be a different boost for each document depending on how it was rated.. I did think of one thing though. If I had a field that had a value of 1-5 for each document, and took that and used it to then add a boost to the fields I was actually searching on (or the final score) that would probably work, is that possible? -Reece On Thu, Jan 29, 2009 at 1:51 PM, Matthew Runo wrote: > You could use a boost function to gently boost up items which were marked as > more popular. > > You would send the function query in the "bf" parameter with your query, and > you can find out more about syntax here: > http://wiki.apache.org/solr/FunctionQuery > > Thanks for your time! > > Matthew Runo > Software Engineer, Zappos.com > mruno@zappos.com - 702-943-7833 > > On Jan 29, 2009, at 10:27 AM, Reece wrote: > >> Currently I'm using SOLR 1.2 to index a few million documents. It's >> been requested that a way for users to rate the documents be done so >> that something rated higher would show up higher in search results and >> vice verse. >> >> I've been thinking about it, but can't come up with a good way to do >> this and still have the "best match" ranking of the results according >> to search terms entered by the users. >> >> I was hoping someone had done something similar or would have some >> insight on it. >> >> Thanks in advance! >> >> -Reece >> > >