From redaxo-search-it
Configures Search It backend in REDAXO CMS: search modes (LIKE/MATCH, AND/OR), text modes, highlighting, additional indexes (DB columns, media, files), blacklists, phonetic similarity (soundex/metaphone/Cologne), autocomplete, statistics.
npx claudepluginhub friendsofredaxo/claude-marketplace --plugin redaxo-search-itThis skill uses the workspace's default tool permissions.
All settings are managed in the REDAXO backend under Search It > Settings. They are stored in `rex_config` with addon key `search_it`.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
All settings are managed in the REDAXO backend under Search It > Settings. They are stored in rex_config with addon key search_it.
LIKE %term% queries, works always, slower on large indexesMATCH ... AGAINST, faster but requires FULLTEXT index and minimum word length (default 4 chars in MySQL)sentence – full sentence containing the matchparagraph – full paragraphsurroundtext – surrounding characters around the matchsurroundtextsingle – surrounding characters, only first matchteaser – fixed-length teaser from start of contentarray – returns array of matches (for custom rendering)<mark>, </mark>)Under Settings > Additional sources, configure:
Add any table.column pair. Common examples:
| Table | Column | Purpose |
|---|---|---|
rex_article | name | Article names in search results |
rex_media | title | Media titles |
rex_media | med_description | Media descriptions |
| Custom YForm table | name, description | Custom data records |
After adding columns, trigger a full reindex.
pdf,doc,docx,txt)If the URL addon is installed, enable URL indexing to include URL addon profile URLs in the search index.
Words that are stripped from search queries. Useful for very common terms that produce too many results.
Specific article IDs excluded from indexing entirely.
All articles in these categories (and optionally subcategories) are excluded from the index.
Enables "Did you mean?" suggestions when a search returns no results. Three phonetic algorithms available:
| Mode | Algorithm | Best for |
|---|---|---|
| 1 | Soundex | English words |
| 2 | Metaphone | English words (better than Soundex) |
| 4 | Cologne Phonetic | German words |
| 7 | All combined | Mixed content |
Enable in backend and rebuild the keyword index. The keyword index grows over time as users search – it learns from real queries.
</body>class="search_it-form" and input name="search"Generated JS code is available via:
rex_addon::get('search_it')->getProperty('suggest_js', '');
Alternatively, include the addon's CSS and JS assets manually:
<link rel="stylesheet" href="<?= rex_url::addonAssets('search_it', 'css/suggest.css') ?>">
<script src="<?= rex_url::addonAssets('search_it', 'js/suggest.js') ?>"></script>
Control how HTML content is converted to plaintext for indexing:
nav, footer, .search-exclude)When enabled, Search It tracks:
View in backend under Search It > Statistics. Useful for understanding what visitors search for and improving content.
localhost:80)redaxo/data/addons/search_it/ft_min_word_len is 4 – three-letter words are silently ignored. Check with SHOW VARIABLES LIKE 'ft_min_word_len'.search_it-form class on the form – JS doesn't bind.