Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COYes, i also think that some well designed design documents should make any subsets unnecessary. But in my actual usecase i have to filter documents for many attributes like attr1 > 10, attr2 <= 20, attr3 = 30, attr4 between 1 and 2 order by attr5, attr4 etc.. so i thought it should be helpfull building a bucket subset with predefined filters to minimize the amount of existing documents, build some commonly used/filtered key/value pairs and filter the rest at application side.
      singulars
    2. COI think your logic is sound. I think your concept of bucket subset, is, well what a view **is**. You mentioned the deeplinks in your comment with @JChris. You can do referential links, but they are not followed by Couchbase itself, but you can follow them client side. I am not sure bucket copy is needed for what you're trying to accomplish. Am I understanding correctly: You want to be able to constantly have a subset of documents that match certain characteristics based on the json k/v's reduce the dataset on the bucket based on these for additonal m/r?
      singulars
    3. COAnother method of doing this subfilter would be with a compound view key where the first element (in the array) is the subset you're grouping on. The functional result is pretty much the same from a view request perspective, and then no need to subset things. For good reading in the general area, check out Bradley Holt's presentation from CouchConf Boston. Not right on, but may trigger a thought.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload