Commit Graph
1211 Commits
Author SHA1 Message Date
bachirandClaude Opus 5.5 ae69b5c03b materio_sapi: split sapiQuery, stop words removed, short-input exact queries (H2)
phraseQuery, andQuery and orQuery return [nid, uuid] lists built by
keywordQuery (duplicates removed by key, no more in_array over 10 000 rows);
filters code removed. KeywordText strips the stop words of the Solr field
type of the language, French elisions and request words: the custom types of
materio_sapi keep stop words (« de » alone matched 2 236 nodes). The phrase
and AND queries run for 6 meaningful words at most: beyond they find nothing
and the AND query could exceed maxClauseCount.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 11:53:13 +01:00
bachirandClaude Opus 5.5 7db02c8b30 materio_sapi: search keys kept as one phrase, filters ignored (H1)
parseRequest() no longer splits the input on commas (Tags::explode):
Base::cleanPhrase() collapses spaces and cuts at 150 characters. The phrase
is kept with its case for the model, lowercased in keys for the keyword
queries. The filters parameter of the assisted search is ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 11:30:32 +01:00
bachirandClaude Opus 5.5 f1ebea91db materio_ai: neighbour search service with Solr kNN (I4)
NeighbourSearch::search() embeds a phrase and runs a Search API query on the
database index, tagged materio_ai_knn. KnnQuerySubscriber turns only this
query into {!knn f=knn1024_vector topK=N}: Search API filter queries
(content_access, language, index) stay as kNN pre-filters (Solr 9.1+), and
keyword queries are untouched. Sent in POST by http_method AUTO.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 10:51:32 +01:00
bachirandClaude Opus 5.5 cc19dedf92 materio_ai: mark a node for reindexing when its vector changes (I3)
Vectorizer::vectorize() calls trackItemsUpdated for each translation whose
vector was saved or deleted, also when the model fails half-way. With
index_directly the cron indexes them at the end of the request. drush mai-va
only marks them (batch tracking) and reminds to run drush sapi-i.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 10:40:39 +01:00
bachirandClaude Opus 5.5 480691fe3e materio_ai: write stored vectors into Solr documents at indexing (I2)
SolrDocumentSubscriber listens to PostCreateIndexDocumentsEvent and sets
knn1024_vector on each node document from the materio_ai_embedding table
(EmbeddingStorage::loadVectors, one query per batch, active model only).
No call to the model: a full reindex does not depend on Ollama.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 10:12:50 +01:00
bachirandClaude Opus 5.5 ce6124b707 materio_ai: dense vector field in the generated Solr configset (I1)
SolrConfigSubscriber listens to PostConfigFilesGenerationEvent (search_api_solr
4.x no longer calls hook_search_api_solr_config_files_alter) and appends the
knn_vector_1024 DenseVectorField (cosine, HNSW) and the knn1024_* dynamic field
(not stored). Solr 9.1 at least. Dependency on search_api_solr added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-17 09:41:33 +01:00
bachirandClaude Opus 5.5 b93d791419 materio_ai: requeue nodes when a referenced term changes (V7)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 21:14:32 +01:00
bachirandClaude Opus 5.5 2a58602867 materio_ai: drush materio-ai:vectorize-all, resumable with progress (V6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 21:01:34 +01:00
bachirandClaude Opus 5.5 7d60678232 materio_ai: vectorization queue on node save, hash check and retry (V5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 20:50:05 +01:00
bachirandClaude Opus 5.5 96a255fcbc materio_ai: corpus adds distributor and synonyms, includes every published node (V4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 20:45:49 +01:00
bachirandClaude Opus 5.5 3659b9e2a1 materio_ai: corpus builder for materials and themes (V4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 20:34:06 +01:00
bachirandClaude Opus 5.5 86ca518c6c materio_ai: embedding table and storage service (V3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 20:16:37 +01:00
bachirandClaude Opus 5.5 45f21b2e49 materio_ai: Ollama embedding client with timeout, num_thread and dimension check (V2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 19:46:22 +01:00
bachirandClaude Opus 5.5 890c80eb12 materio_ai: module skeleton, settings and schema (V1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ShDspHaZGwHoRZCsPBJzsM
2026-11-16 19:35:09 +01:00
bachirandClaude Opus 5.5 6072f70553 search_api_solr Solr 9 cache config: maxBooleanClauses 2048
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 19:08:59 +01:00
bachir 5846e0f4d3 empty flag dossier name fix 2026-11-11 18:00:44 +01:00
bachir d733b99ae5 gin dark mode commerce sidebar display fix 2026-09-30 16:27:42 +02:00
bachir 1abaa040f9 term_reference_tree widgget tracklist remove btn fix 2026-09-30 15:44:19 +02:00
bachir da9c9c3868 materiau edit form more lines for memo field 2026-09-29 09:43:09 +02:00
bachir ac3c22c179 term_reference_tree display fix 2026-09-29 09:37:22 +02:00
bachir 9136dc3ddb term_reference_tree bug fix 2026-09-29 00:05:08 +02:00
bachir 6b8c1d9353 removed contact & ban modules 2026-09-26 18:13:48 +02:00
bachir 30b1fc31d4 composer include js-cooky library 2026-09-26 16:51:16 +02:00
bachir f7c16211f8 Remove config_filter from lock (orphan since config_split 2.x) + starterkit profile bump 2026-09-26 13:16:20 +02:00
bachir baae8d0758 Uninstall config_filter (no longer required by config_split 2.x) 2026-09-26 13:14:34 +02:00
bachir 5b53b563c0 Uninstall admin_toolbar_links_access_filter (obsolete, in core since 10.3) + starterkit profile bump 2026-09-26 10:54:34 +02:00
bachir 4a50053e09 npm run prod 2026-09-26 01:24:06 +02:00
bachir 40da4ce904 Add missing patches referenced by composer.json (gitignored *.patch files needed for prod deploy) 2026-09-26 01:15:00 +02:00
bachir 62c814d57d Drupal from 10.6.17 to 11.4.7 2026-09-26 01:10:59 +02:00
bachir 89d68ac548 removed simplenews_mailjet_subscriptions, replaced it by features in custom module materio_mailjet 2026-09-25 20:48:46 +02:00
bachir ef699e9748 inline_entity_form ^3 2026-09-25 15:48:23 +02:00
bachir 126cbe2107 workflow patch, login_tracker tackeover, user_csv_import, string_translation_ui, path_alias_xt 2026-09-25 14:50:12 +02:00
bachir e6724eba34 composer removed 3 contrib modules D11 incompatibles 2026-09-25 12:13:39 +02:00
bachir 99918ceed4 pmu 3 contrib modules D11 incompatibles 2026-09-25 11:23:26 +02:00
bachir 7e7acd6266 webform security updates 2026-09-25 11:12:09 +02:00
bachir e871291fa3 updated term_reference_tree & rerolled patch 2026-09-24 22:39:25 +02:00
bachir 01a5157177 cleaned old unused anymore themes 2026-09-23 21:47:43 +02:00
bachir c15072ce78 forgot starterkit profile when uninstalled adminimal 2026-09-23 21:43:06 +02:00
bachir 5bb35aa1ec admin display improvements 2026-09-23 21:14:58 +02:00
bachir 0e59bf5129 switched admin theme to GIN (plus custom module for terme_reference_tree display) 2026-09-23 20:39:00 +02:00
bachir 82354d58b2 more modules update (forgot starter-kit) 2026-09-23 18:34:14 +02:00
bachir df9f4f2336 more modules update 2026-09-23 18:33:14 +02:00
bachir 217b08290f materio_simplenews & materio_graphql fix 2026-09-23 14:57:56 +02:00
bachir c38d01ee2b massive custom modules and themes D11 compatibility 2026-09-23 14:16:41 +02:00
bachir 21092ae992 updated composer/installer 2026-09-23 13:57:31 +02:00
bachir 2573e56763 fixed admin views user: removed login_history relation 2026-09-23 13:51:07 +02:00
bachir b33e39aaa5 upgraded commerce_stripe 2026-09-22 22:57:05 +02:00
bachir 67a4f7c52f upgraded commerce to 3 2026-09-22 22:12:53 +02:00
bachir b11afd5fb1 restored workflow to 2.1.13 2026-09-22 22:02:18 +02:00
bachir 50e10dfc6a upgraded classy 2026-09-22 21:56:56 +02:00