2

CouchDB offers the ability to perform faceted search via Lucene. I would like to perform a faceted search where one of the facets is geospatial (e.g. within 30km of a lat/long).

Is this possible, and if so how?

Ben Aston
  • 53,718
  • 65
  • 205
  • 331
  • Perhaps not a direct answer, but have you considered Solr? It offers a full suite of geo queries. – Mikos Feb 01 '12 at 18:43
  • I understand Solr is not compatible with CouchDB, but if this cannot be done in Couch then I wil consider other techs. MongoDB, for example has geo' out of the box I think... – Ben Aston Feb 01 '12 at 18:50
  • HTH http://stackoverflow.com/a/6435585/272861 – Mikos Feb 01 '12 at 18:53

1 Answers1

0

Check out GeoCouch it's a fork of CouchDB that supports geospatial queries/indexes.

Dominic Barnes
  • 28,083
  • 8
  • 65
  • 90
  • Will GeoCouch permit me to perform searches that combine both geo and non-geo elements like so (pseudo query): `find all items with a name of "fred", an age of "25", who live less than 30km from London`? – Ben Aston Feb 01 '12 at 18:51
  • Good question, I'm not able to comment as I've not worked with GeoCouch before. (sorry, was hoping to just point you in this direction) – Dominic Barnes Feb 01 '12 at 19:10