Skip to main content

Writing

Algolia

Algolia InstantSearch on Next.js: search-only keys, object identity, and Sanity merch without the admin client.

All posts

Shared sort keys collapse unlisted PLP groups

Sander Korf4 min read

On a colour-sorted fashion PLP, unlisted colours shared one Algolia sort attribute and one hue reappeared mid-grid until each group got a stable id-only key.

algolianextjsshopify

Read more

Map null keys collapse Shopify live variants

Sander Korf3 min read

Shopify PLPs showed wrong Size facets when variant overrides keyed a Map by null shopifyProductId on consolidated locales. Use the store Product GID.

algoliashopifysanity

Read more

Algolia v5 replaceAllObjects false-timeouts

Sander Korf4 min read

Fashion full-catalog rebuilds false-fail when replaceAllObjects hits fifty waitForTask polls. Large indexes need a custom copy, batch, and move path.

algolianextjsshopify

Read more

Algolia filter taps paid INP for new objects

Sander Korf4 min read

Fashion PLP filter chips felt frozen when an observability hook retried on new object refs each render. Key the effect on queryID, not the results bag.

algoliainstantsearchnextjs+2

Read more

Sanity labels hid my Algolia merch pins

Sander Korf3 min read

On a fashion storefront PLP, merchandisers pin hero SKUs in Sanity CMS but Algolia ignores them when Groq filters on the desk title instead of the schema id.

algoliasanitynextjs+1

Read more

Keep Algolia admin keys off the storefront

Sander Korf3 min read

A fashion PLP runs Algolia InstantSearch in the browser. Only the search-only key belongs in client code; writes stay on the server with the admin key.

algoliainstantsearchnextjs+1

Read more