Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DEF65DDDD for ; Wed, 19 Sep 2012 12:41:30 +0000 (UTC) Received: (qmail 41942 invoked by uid 500); 19 Sep 2012 12:41:27 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 41752 invoked by uid 500); 19 Sep 2012 12:41:27 -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 41728 invoked by uid 99); 19 Sep 2012 12:41:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 12:41:27 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of erickerickson@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Sep 2012 12:41:21 +0000 Received: by obbtb18 with SMTP id tb18so1267206obb.35 for ; Wed, 19 Sep 2012 05:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hNusUeXA+bBhSxLmTM8vIx2qO3pNIVfJ64LOvbYHIB4=; b=Hk7UQBs9F7m5h0cfabPqj9QUZ3tDUpvHmaTjF5j6tAulZi317iCvjLJH9vYNi1UH+V 9R3p0Fke+AIo+1STU9P1uf+eJMN6V6/cUE+n+Zpbso/1vSJ4Bsd6Q0F00B0F0qzjapdL vHO+atm/FtVHJfPMYVZK7p+V9qorkqgartDOBWuk9v2QG3kurdlw1P2lJHo/U9n4U0Os ZPqUOnMKn57ep98M+RfNZzl1MvNUisXJ8U0N9x/e04fj5ECwD1P229KckSopm2uNToWf 83ICt/9wI3OkTfZnAcpQDCI2n+cOTM7hcIqfObqBD+qddTlKhW2HxnxNYA9RP97ceMKa kN9w== MIME-Version: 1.0 Received: by 10.60.171.174 with SMTP id av14mr2940011oec.61.1348058461219; Wed, 19 Sep 2012 05:41:01 -0700 (PDT) Received: by 10.60.84.39 with HTTP; Wed, 19 Sep 2012 05:41:01 -0700 (PDT) In-Reply-To: <62900178-F717-44D6-ACD1-A2E67FA57694@gmail.com> References: <1347928614998-4008495.post@n3.nabble.com> <51AAD842-CE1D-4D3F-8A08-126A12D7CBCD@gmail.com> <1348019340758-4008783.post@n3.nabble.com> <62900178-F717-44D6-ACD1-A2E67FA57694@gmail.com> Date: Wed, 19 Sep 2012 08:41:01 -0400 Message-ID: Subject: Re: Personalized Boosting From: Erick Erickson To: solr-user@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Would boosting (or sorting) by geodist work? See: http://wiki.apache.org/solr/SpatialSearch#geodist_-_The_distance_function Which you can use for a "boost query" as well as sorting. Of course you need to get the lat/lon of your users to make this work, but there are a number of services that can get you, say, the city center in lat/lon. Best Erick On Wed, Sep 19, 2012 at 6:43 AM, Tom Mortimer wrote: > I'm still not sure I understand what it is you're trying to do. Index-time or query-time boosts would probably be neater and more predictable than multiple field instances, though. > > http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22field.22 > http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_change_the_score_of_a_document_based_on_the_.2Avalue.2A_of_a_field_.28say.2C_.22popularity.22.29 > > Tom > > > On 19 Sep 2012, at 02:49, deniz wrote: > >> Hello Tom >> >> Thank you for your link, but after overviewing it, I dont think it will >> help... In my case, it will be dynamic, rather than setting a config file >> and as you think of a big country like Russia or China, i will need to add >> all cities manually to the elevator.xml file, and also the boosted users, >> which is not something i desire... >> >> it seems like duplicating the values in the location field is the best (at >> least quickest) solution for this case.. >> >> >> >> ----- >> Zeki ama calismiyor... Calissa yapar... >> -- >> View this message in context: http://lucene.472066.n3.nabble.com/Personalized-Boosting-tp4008495p4008783.html >> Sent from the Solr - User mailing list archive at Nabble.com. >