Quasi un'Utopia : tryouts first movement

It's official: I'm not going to perform the complete Moonlight Sonata this year. I'm not giving up the dream though, it will just take a little longer. The main reason for the delay is simply time, so I need to come up with a plan to make sure I have more time next year to study the entire piece. Hopefully, more on that later.

Exclude entities which have a redirect from the search api index

For a custom project, we use a taxonomy to tag nodes. Some terms have their own page, while others redirect to a node. The search on the site has one index which contains both nodes and terms, but the terms which are redirecting shouldn't show up when viewing a search results page. While it's possible to use hook_search_api_index_items_alter(), a nicer way to exclude them is by using a processor plugin so you can enable them in the UI per index. The relevant code is underneath. Adjust to your own likings - and maybe inject the service if you want to as well :)

Quasi un'Utopia : little steps

It's been little over a month now since I've started playing on the piano, reading notes, studying easy tunes and I have to say: it's big fun! Can I play the Moonlight sonata already ? Of course not, but I have still 8 and a half months to go, so no stress. As I explained in the first post, I will try and share my progress every month, so this clip is already a bit longer. And it features me, actually playing. I won't tell you the number of takes before I had one without mistakes :)