From 464b6d03588d0db7c56371a26311d613873b7c3b Mon Sep 17 00:00:00 2001 From: David Ascanio Date: Fri, 24 Jul 2026 15:30:54 -0300 Subject: [PATCH] optimization --- app/components/searchPanel/SearchPanel.vue | 531 ++++---------------- app/composables/useDocMetaCache.ts | 56 +++ app/composables/useDocumentDetailFetch.ts | 80 +++ app/composables/usePublicationFetch.ts | 46 +- app/composables/useTypesenseClient.ts | 9 + app/composables/useTypesenseSearch.ts | 539 +++++++++++++++++++++ app/pages/entrelineas.vue | 162 +------ app/plugins/typesense-client.ts | 24 + app/stores/history.ts | 5 +- docs/html-content-cleanup.md | 119 +++++ package.json | 3 +- scripts/benchmark-search.mjs | 202 ++++++++ 12 files changed, 1172 insertions(+), 604 deletions(-) create mode 100644 app/composables/useDocMetaCache.ts create mode 100644 app/composables/useDocumentDetailFetch.ts create mode 100644 app/composables/useTypesenseClient.ts create mode 100644 app/composables/useTypesenseSearch.ts create mode 100644 app/plugins/typesense-client.ts create mode 100644 docs/html-content-cleanup.md create mode 100644 scripts/benchmark-search.mjs diff --git a/app/components/searchPanel/SearchPanel.vue b/app/components/searchPanel/SearchPanel.vue index 32a6b7c..64e5138 100644 --- a/app/components/searchPanel/SearchPanel.vue +++ b/app/components/searchPanel/SearchPanel.vue @@ -1,6 +1,6 @@