Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #17301
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: searching geo data with radius (tricky) |
| Date | Tue, 07 Aug 2012 16:34:38 -0400 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <jvrttm$ank$1@dont-email.me> (permalink) |
| References | <66f6a080-a4c4-446b-a60f-21f930da22b3@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 7 Aug 2012 20:30:47 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="6a6a291fa7e9c0bd872c1a9cbe2b371d"; logging-data="10996"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TaMgP+75UjZMe8lckgaTnGHGwqfAGq9M=" |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20120613 Icedove/3.0.11 |
| In-Reply-To | <66f6a080-a4c4-446b-a60f-21f930da22b3@googlegroups.com> |
| Cancel-Lock | sha1:+dP/WrhboRtjypSCaU9wOF7lbTU= |
| Xref | csiph.com comp.lang.java.programmer:17301 |
Show key headers only | View raw
On 08/07/2012 12:22 PM, Mark wrote: > 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 Have you been unable to fetch an answer to your question from the solr-user mailing list? <http://mail-archives.apache.org/mod_mbox/lucene-solr-user/>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
searching geo data with radius (tricky) Mark <marek.slim@gmail.com> - 2012-08-07 09:22 -0700 Re: searching geo data with radius (tricky) Jeff Higgins <jeff@invalid.invalid> - 2012-08-07 16:34 -0400
csiph-web