Loading...

Recommend more like this

With the catalogue embedded, a recommendation is one call: give me the records most like this one.

Ask for the neighbours

Point the related lookup at any record and it returns the closest others, ranked by similarity — the “you may also like” strip under a product or article. Open Wardens of the Pale and the closest books line up underneath, same-genre first.

The recommendations demo with a book open: a 'Readers also enjoyed' strip shows the most similar books, ranked by similarity percentage

One request — the record's id in, its neighbours back:

GET https://api.searchstack.dev/related/Demo/books/1/{record-id}?size=6
X-API-Key: {your key}
{
  "results": [
    { "name": "North Light",      "@text_score": 0.91 },
    { "name": "The Salt Path Home","@text_score": 0.88 }
  ]
}

Let clicks sharpen it

When a visitor clicks a recommendation, record that click against the query. The results then lean toward what readers actually choose next — no model to train by hand.

Go deeper: Related results and recording clicks in the reference.

Top