From d846ba20071f7786478927061c4b01d6a25d725e Mon Sep 17 00:00:00 2001 From: Oliver Rasche Date: Mon, 24 Aug 2026 16:08:00 +0200 Subject: [PATCH] Add autocomplete endpoint via EXT:solr suggest page type GET /search?type=7384&tx_solr[queryString]= answers term completions from the index (spell field) with document counts as lean JSON - no page envelope, synonyms apply automatically. Two deliberate deviations from the shipped example, which predates TYPO3 v14: the plugin runs as USER_INT (config.no_cache is gone, and a cached USER would pin the first query's suggestions for every later request), and showTopResults is off (the top-result shape is hardcoded upstream with the raw document type and full indexed content). Documented in spec v1.12 clause 7.16. Co-Authored-By: Claude Fable 5 --- public/suggest-demo.html | 147 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 public/suggest-demo.html diff --git a/public/suggest-demo.html b/public/suggest-demo.html new file mode 100644 index 0000000..5e5a37a --- /dev/null +++ b/public/suggest-demo.html @@ -0,0 +1,147 @@ + + + + + + +VITEC Search Demo (dev) + + + +
+

VITEC Search — Demo der Such-API (Autocomplete + Tabs + Nachladen). Nicht fürs Frontend gedacht, das baut React.

+ + + +
+
+
+ +
+ + + +