More Like This doesn't work

Created on 6 September 2022, almost 2 years ago
Updated 27 February 2023, over 1 year ago

Problem/Motivation

I'm using OpenSearch on AWS and was previously using Elasticsearch Connector, but have run into some issues with "Operation timed out" and other strange bugs so I thought I would try this backend instead.

However, I can't get More Like This queries to work at all; if I use a breakpoint to catch the exception then I can see that the error returned from OpenSearch is "[mlt] query does not support [ids]"

Steps to reproduce

Proposed resolution

Borrow the approach from #3008742: [mlt] query does not support [ids] β†’ to build a like set instead of sending raw ids to Elasticsearch.

It doesn't help that I can't find any docs for "more like this" on opensearch.org, I assume the Elasticsearch docs still apply here.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024