I want to query couchbase on value of particular field. So, We have json documents called User in couchbase, and we want to get all User objects having name like “Smith”. The value “Smith” is a variable and injected by the user at run time. How can I send this variable to couchbase Map function from a java client?
User is like following: