Indexation Post treatment

Here’s the culprit:

Hibernate Search failed to convert the document ID to an entity ID, so it fell back to returning just the exception, without the entity ID.

I’ll change the behavior so that we just skip the document IDs that we cannot convert (and report a failure somewhere else): [HSEARCH-3851] - Hibernate JIRA

Regarding the failure to convert the ID, I’m a bit confused… did you insert documents into elasticsearch manually, with IDs that are not longs as they should be? Or maybe you use multi-tenancy and you indexed some documents without a tenant ID?

EDIT: Ok, got it. Your tenant ID is the empty string, and there is a bug: [HSEARCH-3852] - Hibernate JIRA

1 Like