Hello, Ramo.
Andre Aime is more expert than me, but I can tell you a few things.
Yes, the spatial data does need to be stored in SOLR as a WKT string. SOLR
has its own spatial search capability and this capability is utilized by
the SOLR module.
If you can get your shapes/points into PostGIS, you should be able to
create the WKT strings fairly easily -
http://postgis.refractions.net/documentation/manual-1.4/ST_AsText.html
The performance of the spatial search in SOLR is not as good as in PostGIS
- as you probably would expect - but it is still quite good.
The main idea of the module is to be able to plot the results of any 'q',
'fq' search in a SOLR store - ie. run very powerful text-based searches -
and then plot the results efficiently - particularly important if your
search is returning large numbers of results.
Regards,
David Collins
Geological Survey of NSW, Australia.
On Wed, Mar 11, 2015 at 8:55 PM, Tobias Reinicke <ramot...@gmail.com> wrote:
> Hello all,
>
> I see that there is a SOLR backend community module available to use,
> which I find quite interesting and was wondering two things;
> How does the performance compare between SOLR and say Postgres/gis?
> How do I load GML into SOLR?
>
> I've been looking at
> https://cwiki.apache.org/confluence/display/solr/Spatial+Search and it
> says to use WKT - is that really the best way of doing things?
>
> Any help would be much appreciated.
>
> Regards,
> Ramo
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users