On Wed, Feb 12, 2014 at 11:35 PM, Tito Ciuro <[email protected]> wrote: > Hello, > > I have a database with documents with the following format: > > { > "_id" : "12345", > "location" : <some_city>.<some town> > } >
you can emit[<some_city>,<some town>] *and* [<some town>, <some_city>] so you can query either by city or town. - benoit
