unopim-search
Installation
SKILL.md
UnoPim Search
Elasticsearch is an optional, derived index over the database. Every product filter exists twice — a Database class and an ElasticSearch class — selected at runtime by config('elasticsearch.enabled'). A change that touches one branch and not the other ships a grid that answers differently depending on .env.
REQUIRED BACKGROUND: unopim-standards (the "Elasticsearch is optional" rule lives in its scale.md — this skill is the how, not the rule), unopim-exec before any artisan or pest command (ES_OVERRIDE), unopim-verify before calling anything done. Listing-page columns and mass actions: unopim-datagrid. Importer indexing internals: unopim-data-transfer.
Reference files
| File | Read when |
|---|---|
| indexing.md | Commands and flags, config keys, observers, mapping, the import path, why a write is not searchable yet, operating a reindex |
| filters.md | Adding or changing a filterable/sortable product field on both branches, registration tags, operators, tests |