Wrap a base fetch with Tiltify's three search-host quirks (URL
rewrite, Origin injection, filter-shape normalization). See the
package documentation at the top of this file for the full story.
The adapter only touches POST requests whose URL path either ends
in /multi-search or matches the per-index search suffix; every
other call (GET, admin endpoints, arbitrary POSTs, non-Tiltify
hosts) passes through untouched.
Exported for testability; not part of the public barrel.
Wrap a base
fetchwith Tiltify's three search-host quirks (URL rewrite, Origin injection, filter-shape normalization). See the package documentation at the top of this file for the full story.The adapter only touches
POSTrequests whose URL path either ends in/multi-searchor matches the per-index search suffix; every other call (GET, admin endpoints, arbitrary POSTs, non-Tiltify hosts) passes through untouched.Exported for testability; not part of the public barrel.