PHP code example of bitbull / magento-tooso-search

1. Go to this page and download the library: Download bitbull/magento-tooso-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/ */

    

bitbull / magento-tooso-search example snippets


    <crontab>
        <jobs>
            <tooso_reindex>
                <schedule>
                    <cron_expr>*/15 * * * *</cron_expr>
                </schedule>
                <run>
                    <model>tooso/observer::rebuildIndex</model>
                </run>
            </tooso_reindex>
        </jobs>
    </crontab>
xml
<global>
    <remote_addr_headers>
        <header1><![CDATA[HTTP_X_REAL_IP]]></header1>
        <header2><![CDATA[HTTP_X_FORWARDED_FOR]]></header2>
    </remote_addr_headers>
</global>