PHP code example of dmlab / module-typesense-search
1. Go to this page and download the library: Download dmlab/module-typesense-search library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dmlab / module-typesense-search example snippets
xml
<type name="DmLab\TypesenseSearch\SearchAdapter\Query\QueryModifier">
<arguments>
<argument name="modifiers" xsi:type="array">
<item sortOrder="10" name="merchandising" xsi:type="object">Vendor\Module\Query\MyModifier</item>
</argument>
</arguments>
</type>