You could use couchdb-lucene to do an N dimensional query. Filtering stuff out in a list is generally not very efficient because the result isn't cached for subsequent queries, and if your filter is sparse you may find queries are slow as you do a lot of work before being able to respond to the client. Cheers Simon
On Saturday, 2 June 2012 at 00:47, Matthew wrote: > Greetings! > > What's the usual way to handle spatial queries where you also want to filter > results by an additional dimension? geocouch is only 2d, so is doing so in a > the spatial list function the only option? Since this means touching every > record in the result set, are there any performance implications? > > Thanks, > Matthew > >
