[hibernate-dev] [Search] Providing an alias for the indexed type

Guillaume Smet guillaume.smet at gmail.com
Tue Nov 7 10:13:50 EST 2017


Hi,

We just had a couple of very similar questions on SO:
https://stackoverflow.com/questions/47107499/override-elasticsearch-type-in-hibernate-search/47160930
https://stackoverflow.com/questions/47160030/how-to-configure-type-name-or-filter-by-type-query-with-elasticsearch-integratio

The first use case makes more sense than the second one but I'm wondering
if we should consider adding some sort of alias to @Indexed to override the
type we use to identify the type of an object.

WDYT?

-- 
Guillaume


More information about the hibernate-dev mailing list