Skip to main content
50
results
Andrew Fletcher
What am I setting out to achieve? I want to meet the following requirements: Boolean operators in the search.  Tested against the following terms abalone NOT salmon – 1159 abalone -salmon – 1159 abalone AND salmon – 478 abalone +salmon – 1195 abalone OR salmon – 2316 abalone || salmon – 2316 Phrases in quotations marks - this time to be tested against "of this stimulates an interest in the sea and a love for the marine environment" – 1 of this stimulates an interest in the sea and a...
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...
Andrew Fletcher
Like many devs at the moment, looking for log4j2 on your server... how to do? First I used the command find / -name log4j2.xml -type fWhich in turn produced the following results /opt/solr-8.5.2/server/resources/log4j2.xml /var/solr/log4j2.xml  Version Ok, so log4j2 exists on the server the client is using... in Solr.  How about determining the version number? The version here matters as 2.15.0 is good to go.  To find the version use sudo find / -name 'log4j*' The output of...
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...
Andrew Fletcher
Working in Twig, I had to add classes to a pre-existing array.  Whilst I've grown used to the patterns in PHP, these cannot be applied in Twig.  Instead I had to merge the new array elements. Non associative arrays Working from a base level, I'll begin as if the original array hasn't been set.  The merge filter expects as first argument an array whose content will be merged with the assigned variable: {% set myArray = [] %} {% set myArray = myArray|merge(['tw-flex-inline'])...
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...
Andrew Fletcher
How to apply a gradient tint over a background image? Set the background...