Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Mark Newsgroups: comp.lang.java.programmer Subject: searching geo data with radius (tricky) Date: Tue, 7 Aug 2012 09:22:26 -0700 (PDT) Organization: http://groups.google.com Lines: 17 Message-ID: <66f6a080-a4c4-446b-a60f-21f930da22b3@googlegroups.com> NNTP-Posting-Host: 217.6.59.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1344356642 27334 127.0.0.1 (7 Aug 2012 16:24:02 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 7 Aug 2012 16:24:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=217.6.59.139; posting-account=WKIRdAoAAACMXZoJvxwe-79-ak9rRA7p User-Agent: G2/1.0 X-Received-Bytes: 1659 Xref: csiph.com comp.lang.java.programmer:17293 Hi, I have schema for document: Base on only coordinates (without given radius) I would like to find every document that coordinate with radius from document contains given point. Example parameter: 13.80,51.01 This query is quite tricky: normally radius is provided in query, here I would like to use radius from document (different for every document). I could find some examples with functions, but used as a sort parameter, not condition parameter... Can you help me with solving this problem ? Thanks for help Mark