Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Can you create a query over multiple ranges?

3 replies [Last post]
  • Login or register to post comments
Fri, 01/18/2013 - 09:04
BruceH
Offline
Joined: 01/04/2013
Groups: None

Hi Couchbase gurus

I'm exploring a scenario requiring sets of range queries. The ranges are simple lexicographic sort order ones.
I realize I can expand the job into multiple range queries but I'm looking for sets or chains of ranges for the job.
Possible, or an enhancement request?

Thanks

Top
  • Login or register to post comments
Fri, 01/18/2013 - 11:06
haebin
Offline
Joined: 01/16/2013
Groups: None

Since u could send multi queries asynchronously, wouldnt it be possible by just making a simple util function which takes a list of multi queries as argument and returns a merged resultset?

Top
  • Login or register to post comments
Fri, 01/18/2013 - 11:09
BruceH
Offline
Joined: 01/04/2013
Groups: None

Thanks, yes that would be canonical, I was just curious if there was anything undocumented for range queries that would let you chain them.

Top
  • Login or register to post comments
Tue, 01/22/2013 - 09:39
tgrall
Online
Joined: 09/05/2012
Groups: None

Hi,

Not it is not possible, as Haebin said you can use multiple queries.

Regards

__________________

Tug
@tgrall

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker