"pigment Italie" only matched "pigment": the country was neither a tag nor
in the AND query fields, and the model matched Italian-sounding names.
Country names and demonyms (FR/EN, 259 countries, CountryForms generated
from Drupal and Wikidata) are detected in the phrase, taken out of the
keywords and of the model phrase, and become a condition: manufacturer or
distributor country, or tag of the same name. Results: exact matches and
neighbours of the country first, then the same search without country.
Index: manufacturer_country and distributor_country (reference paths,
reindexed when a company changes). A country alone lists its records.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
auto_entitylabel 3.x no longer runs PHP in patterns: the pattern
"<?php return t('Home'); ?>" was stripped to an empty title, and saving
the home node (materio_home_cron, every minute) failed with "Column
'title' cannot be null" since September. The title stays automatic and
hidden from editors; the tab title comes from the /home route, translated
by the interface translation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
config/stage/pwa.config.yml was in the pwa 1.x format (no categories
key): imported over the right config on each stage deploy, it made the
pwa 2.x manifest throw a TypeError (array_filter on null) on every page.
The stage now takes the pwa config of config/sync, like the prod.
pwa_extras.settings.apple.yml was identical to config/sync, and the
French translation language/fr/pwa.config.yml was also in the 1.x
format (config/sync has its own).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
- QueryEmbedder: vector of a search phrase cached 30 days (cache bin
materio_ai), model given search_timeout seconds (1 by default, new
setting, update 11001), left alone 60 s after a failure
(ModelPausedException, not logged).
- NeighbourSearch honours the enabled setting: the search called the model
even when materio_ai was switched off.
- materio_ai_cron() loads the model with the normal timeout: after a
restart, loading (2.9 s) exceeds the search delay and Ollama drops it,
so searches alone would never load it. Ultimate cron job exported.
- On any model failure the search answers with the keyword results only.
- QueryEmbedderTest: cache, delay, pause, cache during the pause, warm-up.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM