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

Emmanuel Bernard emmanuel at hibernate.org
Mon Feb 29 11:55:30 EST 2016


Yes that's a pretty significant body of work that I would move as an
idea for 6.x along the API cleaning.

On Mon 2016-02-29 16:08, Guillaume Smet wrote:
> 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
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


More information about the hibernate-dev mailing list