Indexing errors result in wrong error message "The connection to the server could not be established."

Created on 2 October 2023, about 1 year ago
Updated 8 February 2024, 9 months ago

Problem/Motivation

Whenever there are errors in the indexing process (currently seeing this with 🐛 Document doesn't have a `search_api_document_id` attribute after upgrading 1.0.0 to 1.1.0-rc1 Closed: outdated ), I get an error message "The connection to the server could not be established." at the end of the indexing process, which is definitely wrong, the server is reachable in this case, it's just that the indexing did not work out as expected.

Steps to reproduce

Produce some indexing error. Drop everything from an index. Reindex all items. See error message.

Proposed resolution

Error messages need to be discerned based on their cause.
My case feels more like "Indexing error(s) occurred (see logs for details). The indexed data might not be complete or exist at all."

Because that's really the case. Just because of two nodes throwing errors, nothing got indexed. Which is a different issue I guess.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇦🇹Austria tgoeg

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024