Skip to main content
51
results
Andrew Fletcher
Adding basic security to your server, requires altering the security.json file.  For me this file was located /var/solr/data/  Add a User or Edit a Password The set-user command allows you to add users and change their passwords. For example, the following defines two users and their passwords: curl --user solr:SolrRocks http://localhost:8983/api/cluster/security/authentication -H 'Content-type:application/json' -d '{"set-user": {"andrew":"andrewsPass"}}'  Delete a User The...
Andrew Fletcher
What am I setting out to achieve? I want to meet the following...
Andrew Fletcher
Having access to a site’s URL in your templates can come in handy for many...
Andrew Fletcher
Having Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
I want to create a content type that has a paragraph.  Easy enough. What...
Andrew Fletcher
Since upgrading to Drupal 9.3.0 have you come across this error? Edit mediaTypeError : Argument 1 passed to Drupal\Core\File\FileUrlGenerator::generateString() must be of the type string, null given, called in /app/web/sites/default/files/php/twig/61baa150bc5f6_media--document.html.twig_h9bK0We32VfjIKYeac5J1n4Mn/6wcKI-HiereIg8aXE0Znemy4PM0s6woj_Cr2Trl_U68.php on line 59 in Drupal\Core\File\FileUrlGenerator->generateString() (line 58 of...
Andrew Fletcher
Like many devs at the moment, looking for log4j2 on your server... how to...
Andrew Fletcher
When you have an entity ID value such as node ID (nid) or taxonomy term ID, how...
Andrew Fletcher
Adding Solr config zip (ie. solr_8.x_config.zip) to your remote...
Andrew Fletcher
Steps to get the Solr date range widget working.   Steps Enable the Facets...
Andrew Fletcher
Following is a series of steps to install Tika and have it running for your Solr Search API Attachments. Java is it running on your server To begin you must have Java installed on your server/machine.  To check if Java is installed use the command java -versionPerforming the above command will output something similar to: openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've...
Andrew Fletcher
Working in Laravel, I needed to loop through an array and know whether the...
Andrew Fletcher
Images For some time, when looking for images online for your app or site I have...
Andrew Fletcher
Adding an image via RESTUI can be done in a snap... once you know how!  I...