PHP code example of h4ck3r31 / solr-utility
1. Go to this page and download the library: Download h4ck3r31/solr-utility 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/ */
h4ck3r31 / solr-utility example snippets
plugin.tx_solr.index.queue {
document {
table = sys_file
additionalWhereClause = storage=1 AND identifier LIKE '/public-downloads/%'
initialization = GMK\BezirkOberfranken\Alternatives\Solr\DocumentInitializer