From java-user-return-53165-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Mon Jul 9 08:30:53 2012 Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7ADE8CD6D for ; Mon, 9 Jul 2012 08:30:53 +0000 (UTC) Received: (qmail 64944 invoked by uid 500); 9 Jul 2012 08:30:51 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 64785 invoked by uid 500); 9 Jul 2012 08:30:50 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 64762 invoked by uid 99); 9 Jul 2012 08:30:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 08:30:50 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FSL_RCVD_USER,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 08:30:44 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1So9MO-0002Pk-33 for java-user@lucene.apache.org; Mon, 09 Jul 2012 01:30:24 -0700 Date: Mon, 9 Jul 2012 01:30:24 -0700 (PDT) From: amir To: java-user@lucene.apache.org Message-ID: <1341822624085-3993824.post@n3.nabble.com> In-Reply-To: <1325606348636-3629480.post@n3.nabble.com> References: <1325440843300-3625177.post@n3.nabble.com> <1325606348636-3629480.post@n3.nabble.com> Subject: Re: Spatial Search MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi David, I'm implementing a project using your RecursivePrefixTreeStrategy and it works fine when I'm only querying based on the geo field as I can sort and can get the distance from the score of the results. However I couldn't figure out how to sort and get the distance when I combine the geoquery with another query through booleanquery. I do really appreciate if you could give me a little help to get the distance value and sort the items based on their distance.... Amir -- View this message in context: http://lucene.472066.n3.nabble.com/Spatial-Search-tp3623494p3993824.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org