Rebuild global search for the new idempiere-elastic backend
- search/[query]: parallel multi-index (9 entities), no fragile agg, tenant/org scoping - search/related/[entity]/[id]: new related-documents fan-out (both directions) - materials/products/quantities: new live stock-qty endpoint (async enrichment) - materials/products/filter-elastic: new one-doc-per-product index (nested price filter, batched live qty); keeps {records:[...]} so the 19 line pickers are unchanged - SearchModal: 9 grouped result types, lazy related-docs, partner kind / shipment type tags, async product qty
Deploy only with/after the new ES is live (queries the new index shape).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
SearchModal: tiled grid + master-detail related panel; modern restyle
- one tile per document type (responsive grid), modern styling (glass header, color-mixed accents, hover lift) - click a result -> right column shows its related docs grouped (max 10 each, newest first) - per-result ↗ Open button opens the record in a new window (modal stays open) - related API capped to 10 per group
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>