[Geoserver-devel] GeoServer and Apache Solr

Hi ALL,

I have 1.6 million indexed points in solr, and must present them on maps.

I know that today there is not a plugin to create a store from the Apache Solr. Is there any GSIP to this new feature?

If I generate a JSON with the information I lose performance, so I would use WMS layers and not Vector.

Do you have any suggestions?

Best Regards

Fernando Quadro (GeoServer Brazil)
http://www.fernandoquadro.com.br
twitter.com/fernandoquadro

On Mon, Jul 28, 2014 at 7:09 PM, Fernando Quadro <fsquadro@anonymised.com> wrote:

Hi ALL,

I have 1.6 million indexed points in solr, and must present them on maps.

I know that today there is not a plugin to create a store from the Apache
Solr. Is there any GSIP to this new feature?

Yes, GeoSolutions is working on a SOLR based store that will be contributed
to geotools/geoserver, but I don't have a firm release date yet.
Gut feeling, sometimes during September?

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

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.

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