Week Beginning 24th March 2025

I’d received a new batch of data outputted from the editing system used by the Dictionaries of the Scots Language on Friday, and on Monday I processed this, which involved importing the data into the database structure used by the website, generating the data necessary for the search facilities and then outputting all of the data in a format that would then be ingested into the Solr search system.  All went pretty smoothly, and after testing everything out locally I uploaded everything to the server.  I don’t have direct access to update the Solr cores on the server, so I had to wait until our IT people had the time to run the necessary commands, which they did on Wednesday morning.  A few subsequent tests show that all is working as it should, and we’re just about ready to replace the live site with the version we’ve been working on for more than 18 months now.

I also made a couple of further tweaks to the system, such as ensuring the new ‘TypeC’ attribute connects to the correct update statement and dynamically populates the ‘About’ section of the relevant entries.  Later in the week the editor Ann got in touch to say that the bibliography search (or more specifically the dropdown list of predictive search options) was running very slowly so I investigated this.  I added in some new indexes to the database and this has increased the speed considerably.  Rather strangely, the live site doesn’t have these indexes and the queries appear to be exactly the same so I’m not sure why our test site is much slower – the databases are running on the same server.  However, the indexes will make things more efficient so it’s good that this was spotted.

Also this week I responded to some queries from the Anglo-Norman Dictionary about our links to the DEAF site from some entries.  Unfortunately it looks like their lemma-based URLs are ignoring accents, which means some of our links are leading to the wrong page on their site.  For example, the DEAF link on this page: https://anglo-norman.net/entry/herit%C3%A9 leads to this page: https://deaf.hadw-bw.de/lemme/erit%C3%A9 which unfortunately displays the same content as this page: https://deaf.hadw-bw.de/lemme/erite even though ‘erite’ and ‘erité’ are different words.  The only way to reach the correct page is to perform a search for it and select it from the left-hand column: https://deaf.hadw-bw.de/?type=shortarticle&id=38050#erit%C3%A9 but we can’t use such a link in our XML as it would require us to know the ID of every lemma we link to.  It’s not ideal for a French language website to not be able to differentiate accented and non-accented characters, but that appears to be what’s happening.  Strangely, other links on the DEAF site do differentiate accented characters.  For example: https://deaf.hadw-bw.de/fiches/erit%C3%A9 and https://deaf.hadw-bw.de/fiches/erite display different content.  It’s just their ‘lemme’ links that don’t work properly.

In addition, I also added a new language to the AND system this week.  We now have ‘Scots’ listed and selectable in the XML, and whenever this language is added to entries the search facilities on the website will be automatically updated to enable the language to be searched for.  In fact we currently have two entries that have been updated to include Scots at the time of writing:  https://anglo-norman.net/search/language/14/null/

On Wednesday this week we had new broadband fitted at our house, and it took a couple of hours to get everything all working with the new system.  And on Friday afternoon I attended an event organised by the ‘Realities and Immersion Glasgow’ group at the ARC.  This group are looking at virtual / augmented / extended reality systems and their potential use across the university and beyond.  It was very interesting to try out several of their headsets and see the work that’s going on in this area, and I’m glad I went along.

I spent most of the rest of the week continuing to develop a new, unified API for the Historical Thesaurus website.  I managed to complete work on the search facilities this week, so that’s the bulk of the API sorted now.  There are still several visualisations that need their data queries to be plugged in, plus I need to ensure the CSV output works correctly, but I’m hoping I’ll be able to complete work on this next week, depending on what other work needs to be done.