Skip to main content
62
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 FRDC-Drupal-PROD systemd[1]: Starting LSB: Controls Apache Solr as a Service... Apr 17 23:22:51 FRDC-Drupal-PROD su[750]: (to solr) root on none Apr 17...
Andrew Fletcher
To resolve the CVE-2022-48624 vulnerability on Ubuntu using Nginx, it's crucial...
Andrew Fletcher
In many terminal text editors, you use find command as reference in Terminal...
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
You can perform the following steps: Check Apache Modules Apache Struts 2 is...
Andrew Fletcher
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and...
Andrew Fletcher
To use OpenAI to summarise text from a PDF using Python 3.11.6, you'll first need to extract the text from the PDF and then send it to the OpenAI API for summarisation.   Preparation   Set-up pip install python-dotenv langchain openai tiktoken pypdf pymupdf  Code The current code is on my Summaries GitHub page.   Elements Adjusting the parameters - you can adjust the max_tokens and temperature parameters in the summarize_with_openai function to control the length and...
Andrew Fletcher
Create a Lando setup running Drupal 10. The command you provided appears to be a...
Andrew Fletcher
Permission error Traceback (most recent call last): File...
Andrew Fletcher
To set an environment variable on Ubuntu, can be achieved via a few options....
Andrew Fletcher
Whilst installing Python 3.11.6 and running the command 'sudo make altinstall',...