I want to perform a simple search with Full text search.
I have elements with a label and a description.
How do I specify to the FTS the attributes of my json to check?
$cluster = new CouchbaseCluster(‘couchbase://localhost’);
$bucket = $cluster->openBucket(“my_bucket”);
$fts = CouchbaseSearchQuery::match(“paris”);
$query = new CouchbaseSearchQuery(“fts_index”, $fts);
$result = $bucket->query($query);
How to perform a multi-criteria search?
Currently I recover the identifiers of the data that correspond but without having the data of the document.
How get it?
The documentation is not very explicit for the php sdk.
Thanks for your help