Hi David,
Many thanks - that's some great info - if I may pry though - why is the
spatial search of SOLR not as good as PostGIS (as I don't know SOLR much I
don't know what to expect :) ) - I presume it's along the lines of PG has
better spatial indexes (indicies?)?
If so, that pretty much answers my question; that there is very little
point in trying to replace my PG with a SOLR backend for WMS rendering
purposes. Would that be a right assumption?
Thanks again,
Ramo
On 11 March 2015 at 22:31, David Collins <david.8.coll...@gmail.com> wrote:
> 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