[hibernate-dev] [Search] Elasticsearch - Translating exceptions?

Guillaume Smet guillaume.smet at gmail.com
Mon Feb 29 10:08:15 EST 2016


Hi,

I have a question regarding the Elasticsearch backend: should we try to
translate the Elasticsearch exceptions to Hibernate Search exceptions (the
ones from the loggers) when possible?

Good examples of it are in
SpatialIndexingTest#testNonGeoDistanceSortOnNonSpatialField and
#testNonGeoDistanceSortOnMissingField.

I think it might make sense for these particular examples but I wonder if
it won't be a maintenance burden in the long term.

Thoughts?

-- 
Guillaume


More information about the hibernate-dev mailing list