Hello,
splitting the data across indexes can be done using Hibernate Search's sharding capabilities - not to be confused with the sharding applied by Elasticsearch.
In particular see "Dynamic Sharding" as it allows you to define the name of the index you want to target for each operation:
-
https://docs.jboss.org/hibernate/search ... c-shardingThe "routing" option is not supported yet. It seems like a good idea to add it! Please open a feature request:
-
https://hibernate.atlassian.net/projects/HSEARCH/issuesLooks like we should consider matching the "dynamic sharding" capabilities of Hibernate Search to map directly to the routing API. I'd be most interested in your suggestions on this: if you could describe your use case on the feature request that will be a great help.
Thanks!