32
results
Andrew Fletcher
•
To sort through a multidimensional array seems to be a function that I occasionally call on. Handy to have referenced here:
/**
* Loop through a multi dimensional array
*
* @param array $haystack
* Data array.
*/
protected function sortMultiDimensionalArray($haystack)
{
foreach ($haystack as $key => $item) {
// If $item is an array and the number of children is greater to one
// keep looping through the array.
if (is_array($item) &&...
Andrew Fletcher
•
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
•
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
•
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
•
I installed Lando 3.6.2 and Laravel 9. When I visit the web page, I...
Andrew Fletcher
•
Have you tried adding custom synonyms to Solr on Drupal?
How did you go?
What do you need to do to connect a custom synonym list to your Solr?
Set-up : the tools
What am I using?
Search API Synonym- https://www.drupal.org/project/search_api_synonym
Solr : 8.1
Steps to get a custom Solr working
Install Search API Synonym
Read through the instructions on the module page or have a look at the following article
Setting up synonyms on your Drupal site with a few errors you might...
Andrew Fletcher
•
We are going to work through two methods of creating the SOLR cores.
Variables...
Andrew Fletcher
•
Updating to PHP 8.1, I found this interesting code stop...
Deprecated function:...
Andrew Fletcher
•
Running Docker
Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
•
Adding basic security to your server, requires altering the security.json...
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 Drupal Solr Search APi running, I thought adding synonyms to the mix...
Andrew Fletcher
•
Like many devs at the moment, looking for log4j2 on your server... how to...
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...