Files
materio-d9/web/modules/custom/materio_sapi
bachirandClaude Opus 5.5 2e93c5c0f8 Search: countries named in the phrase filter by company country (Q6)
"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>
2026-11-30 17:07:43 +01:00
..