[ANN] CouchDB-Lucene Package availability for OpenSuSE systems

2013-12-08 Thread Marcello Barnaba
Hello list, I have built a package of CouchDB-Lucene for OpenSuSE (11.4 ~ 13.1) systems. It is available on https://build.opensuse.org/package/show/home:vjt:ifad/couchdb-lucene. The same buildservice repo also contains the latest releases of CouchDB (1.5.0) and Erlang (R16). This package is

use startkey/endkey to discribe a range problem

2013-12-08 Thread Qaqabincs
I use a view to query an area, and emit [lng, lat] as key, so I use ...?startkey=[min_lng, min_lat]endkey=[max_lng, max_lat] to help find out all place within the quadranglar area, but the results are exactly between x∈[min_lng, max_lng]y∈[-∞, +∞ ] and x∈[-∞, +∞]y∈[min_lat, max_lat] (like a

Re: [ANN] CouchDB-Lucene Package availability for OpenSuSE systems

2013-12-08 Thread Robert Newson
Brilliant! Pull Requests for the features in your fork would be gratefully received too. On 8 Dec 2013 15:21, Marcello Barnaba v...@openssl.it wrote: Hello list, I have built a package of CouchDB-Lucene for OpenSuSE (11.4 ~ 13.1) systems. It is available on

Re: use startkey/endkey to discribe a range problem

2013-12-08 Thread Robert Newson
CouchDB views are one dimensional so you will not succeed with a two dimensional geo query. You could try couchdb-lucene which can. On 8 Dec 2013 15:51, Qaqabincs luji...@gmail.com wrote: I use a view to query an area, and emit [lng, lat] as key, so I use ...?startkey=[min_lng,

Re: use startkey/endkey to discribe a range problem

2013-12-08 Thread Vivek Pathak
You can replicate the two dimensional neighborhood by mapping the resursive partitioning of the lat-lon range into key components. Eg: lets say you start with north south axis first, if your location is north of equator, add the first caharacter n to the key, else add s. Next check if your