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 0994410B42 for ; Thu, 6 Feb 2014 13:09:10 +0000 (UTC) Received: (qmail 64100 invoked by uid 500); 6 Feb 2014 13:09:04 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 63576 invoked by uid 500); 6 Feb 2014 13:09:03 -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 63559 invoked by uid 99); 6 Feb 2014 13:09:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 13:09:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yseeley@gmail.com designates 209.85.192.179 as permitted sender) Received: from [209.85.192.179] (HELO mail-pd0-f179.google.com) (209.85.192.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Feb 2014 13:08:58 +0000 Received: by mail-pd0-f179.google.com with SMTP id fp1so1285424pdb.10 for ; Thu, 06 Feb 2014 05:08:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=cVJJaC7qVNqCrg+Zz0cKojac/HA2Wf2YWm4dSb2askg=; b=y8BaBGuYdgm9wTBqieTuctk5yb9RenDbmj087m2/DZxB6AdeRp0aA+1WBACH0C8FpR 0EZS13+fUQUx4TYwrkhltyrnJF61aCTVUol5qNTZtokIN8ZNZV1UOkZW9idAw8bO6klE OaFe2Dhbs99m8qVO5hs8c9ViLiaCRXx1wu9Eu0K7furV5y8gf/Ky7FSkHkXi0zs/tXxU QFmWZ/xeA0r3mSe2t2OiThT409/NEutX3BrV58Jyc/KBMH9zOAjsTNoYWu9MMB6t00Ih a6eUuFtScs8U8+dmsl2iJPU7N2uBYgk6acrq4PnzUZ2DVlGHxNLA8a4KKtZQmm75B9f0 xqbA== MIME-Version: 1.0 X-Received: by 10.67.3.97 with SMTP id bv1mr547232pad.54.1391692118135; Thu, 06 Feb 2014 05:08:38 -0800 (PST) Sender: yseeley@gmail.com Received: by 10.68.77.38 with HTTP; Thu, 6 Feb 2014 05:08:38 -0800 (PST) In-Reply-To: References: Date: Thu, 6 Feb 2014 08:08:38 -0500 X-Google-Sender-Auth: J2WjXzGzjz9s9OV3idHKpgYb-Ek Message-ID: Subject: Re: geofilt customization From: Yonik Seeley To: "solr-user@lucene.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Feb 6, 2014 at 5:13 AM, Sohan Kalsariya wrote: > So in short i want to ask that Is it possible not to define the `distance` > parameter ? So I can get my desired results? No, the distance parameter is required for geofilt. If you are still looking to calculate distance for returned documents, then use a pseudo-field in conjunction with the geodist function (in the "fl" parameter). q=*:* &fl=id, score, my_dist:geodist() &sfield=... &pt=... Or you could sort by distance... q=*:* &sort=geodist() asc &fl=id, score, my_dist:geodist() &sfield=... &pt=... -Yonik http://heliosearch.org - native off-heap filters and fieldcache for solr