Is the N1QL functionality exposed via any of the APIs (Java, in particular)? Or is it a command line tool only?
What is the best approach for building in ad hoc querying from a Java client? Is it building views and then executing queries against the views.
If the view approach is the best option, how complex can the queries get? For example, Can I query for date values within my documents that fall within a date range? Can I only query views by key values?
If you want to try N1QL go start here: http://blog.couchbase.com/couchbase-java-sdk-200-developer-preview-1
we will provide full functionality from the 2.0SDKs, and we’d love to get feedback!