I have created a full text index on a bucket and have implemented FTS with my Python app using the following documentation:
I am now able to search my index on my application and it returns the IDs of the documents. My question is, how can I know retrieve the rest of the content of each of those documents that have returned IDs?
What I am trying to achieve is similar to what is done here: http://blog.couchbase.com/2016/february/cbftjavapreview
Specifically this piece of code where they use the .content()
result = bucket.query(ftq);
System.out.println("totalHits: " + result.totalHits());
for (SearchQueryRow row : result) {
System.out.println(row);
System.out.println(bucket.get(row.id()).content());
}
Thank you.