developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
36
results
Andrew Fletcher
•
When Solr is displaying results on the site, first step is to log in the server and check its status
● solr.service - LSB: Controls Apache Solr as a Service
Loaded: loaded (/etc/init.d/solr; generated)
Active: failed (Result: exit-code) since Wed 2024-04-17 23:22:52 UTC; 6h ago
Docs: man:systemd-sysv-generator(8)
Apr 17 23:22:50 {name} systemd[1]: Starting LSB: Controls Apache Solr as a Service...
Apr 17 23:22:51 {name} su[750]: (to solr) root on none
Apr 17 23:22:51 {name}...
Andrew Fletcher
•
Recently, I encountered an issue where my local Docker environment refused to...
Andrew Fletcher
•
When executing the following command, the response I'm getting is
npm ERR! code...
Andrew Fletcher
•
Having updated Solr, re-indexing wasn't working. The error in the logs...
Andrew Fletcher
•
On an Ubuntu 20.02 system with Nginx, you can utilize the following commands to...
Andrew Fletcher
•
Cleaning out or clearing data in Solr can be done in a few different ways, depending on your specific requirements.
Delete All Documents
You can use the Solr Admin interface or send a DELETE request to remove all documents from a Solr core.
Solr Admin Interface:
Open your web browser and navigate to the Solr Admin interface, typically at http://your_solr_server:8983/solr.
Select the core you want to clear.
Click on the "Query" menu.
In the "q" field, enter *:* to match all...
Andrew Fletcher
•
In an environment that is running
Ubuntu 20.02
Nginx
Solr
The default...
Andrew Fletcher
•
Finalising a deployment to Drupal 10 and reviewing the latest log...
Andrew Fletcher
•
Docker containers list
To view a list of Docker containers that are currently...
Andrew Fletcher
•
Working in an AWS ec2 environment, my goal is to access the server via...
Andrew Fletcher
•
Whilst attempting to download the latest config.zip file for Solr, I was greeted by the following error:
Error: Class "MyCLabs\Enum\Enum" not found in include() (line 18 of /var/www/vhosts/{domain.com}/vendor/maennchen/zipstream-php/src/Option/Method.php)
#0 /var/www/vhosts/{domain.com}/vendor/composer/ClassLoader.php(582): include()
#1 /var/www/vhosts/{domain.com}/vendor/composer/ClassLoader.php(433): Composer\Autoload\{closure}()
#2...
Andrew Fletcher
•
Setting up the admin password.
Process:
1. Edit jetty.xml
To begin you...
Andrew Fletcher
•
Build the PHP base image with apache-buster using the Dockerfile.base
Since JN...
Andrew Fletcher
•
In this article I'll walk through the steps I went through to install Solr on...
Andrew Fletcher
•
Looking to install Solr on your server? Not sure if it worth the...