The solr wiki for spatial search is a good place to start.
Solr has 3 variable types to handle geospatial information. I have used LatLongType, and the SpatialRecursivePrefixTreeFieldType (RPT). I haven't used the geohash.
The latlongtype is the most restrictive (I think it was their first geospatial type), as you have to put the data in your string as "lat,long" (The comma is important). The RPT can handle "lat,long", "long lat" (notice no comma, just a space), and WKT.
You can also setup "arrays" of points in the solr schema with multiValued set to true.
Bounding box lookups will depend on the variable type. The latlongtype has to use solrs [ llaty,llongx TO urlaty,urlongx] . The RPT allows for within and intersects. It has been awhile, but you will discover that some querys will work in the q parameter and some will work with fq, and you have to get the quoting correct.
Regards,
Clint Eads
-----Original Message-----
From: Phil Scadden [mailto:p.scadden@anonymised.com]
Sent: Monday, July 28, 2014 3:19 PM
To: geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] GeoServer and Apache Solr
Okay, I am intrigued. I use SOLR for text-based searches and I have spatial component for the indexed documents in separate postgis store.
How are you representing spatial in SOLR? Is this just XY fields or is there a geocoding backend?
Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel