Re: [hibernate-dev] Questions on HS + ES

2017-05-10 Thread Yoann Rodiere
Hi, > * Can we have multiple indexes for the same entity, with different > fields, geared towards different use cases? No, it's not currently possible. Each entity is mapped to a single index. But you can map each property of your entity to multiple index "properties", so you can actually handle

[hibernate-dev] Questions on HS + ES

2017-05-09 Thread Gunnar Morling
Hi, I recently got some good questions on Hibernate Search + Elastisearch: * Can we have multiple indexes for the same entity, with different fields, geared towards different use cases? * How could we deal with authorization for seeing specific ES query results? I reckon that's something to