Fulltext Search

Here we will show you how you perform a Fulltext Search against documents.

<?php
// perform a fulltext search against all documents
$documents = $api->getDocuments()
    ->search('Football')
    ->execute();

// perform a fulltext search against collection documents
$collectionDocs = $api->getCollection('topNews')
    ->search('Football -soccer')
    ->execute();

Last updated