Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17515

searching geo data with radius (tricky)

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.ripco.com!news-out.news.tds.net!newsreading01.news.tds.net!53ab2750!not-for-mail
From "Mark" <mark@1:261/38.remove-k2r-this>
Subject searching geo data with radius (tricky)
Message-ID <5023FE38.56464.calajapr@time.synchro.net> (permalink)
X-Comment-To All
Newsgroups comp.lang.java.programmer
X-FTN-AREA COMP.LANG.JAVA.PROGRAMMER
X-FTN-MSGID 1:261/38 504b6ee4
Content-Type text/plain; charset=IBM437
Content-Transfer-Encoding 8bit
X-Gateway time.synchro.net [Synchronet 3.16a-Win32 NewsLink 1.98]
Lines 42
Date Thu, 09 Aug 2012 18:44:33 GMT
NNTP-Posting-Host 69.21.70.65
X-Complaints-To news@tds.net
X-Trace newsreading01.news.tds.net 1344537873 69.21.70.65 (Thu, 09 Aug 2012 13:44:33 CDT)
NNTP-Posting-Date Thu, 09 Aug 2012 13:44:33 CDT
Organization tds.net
Xref csiph.com comp.lang.java.programmer:17515

Show key headers only | View raw


From: "Mark" <mark@1:261/38.remove-qhs-this>

From: "Mark" <mark@1:261/38.remove-p82-this>

From: Mark <marek.slim@gmail.com>

Hi,

I have schema for document:
<fieldType name="geohash" class="solr2155.solr.schema.GeoHashField" length="12"
/>
<field name="lat_lng" type="location" indexed="true"  stored="true"/>
<field name="radius"  type="int" indexed="true" stored="true"/>

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

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

-+- BBBS/Li6 v4.10 Dada-1
 + Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
 * Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

searching geo data with radius (tricky) "Mark" <mark@1:261/38.remove-k2r-this> - 2012-08-09 18:44 +0000
  Re: searching geo data with radius (tricky) "Jeff Higgins" <jeff.higgins@1:261/38.remove-t9h-this> - 2012-08-10 18:38 +0000

csiph-web