Hi,

I'm struggling to figure out how to properly build a view for my documents. 
Basically, each document has a tags field that maps to an array of string 
tags, like follows:

Document1 {
tags: [tagA, tagB]
}

Document2 {
tags: [tagA, tagC]
}

The user types in a search term, and I want to return all documents who 
contain the search term as a tag. So if the user types in "tagA", I would 
be able to get back Document1 and Document2, but if they typed "tagB", it 
would only return Document1.

Thanks for all your help!
Ragu

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/2155ccc5-37d0-4d03-b56d-a20eac32bf8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to