Class SimpleIndexLayoutStrategy

java.lang.Object
org.hibernate.search.backend.elasticsearch.index.layout.impl.SimpleIndexLayoutStrategy
All Implemented Interfaces:
IndexLayoutStrategy

public final class SimpleIndexLayoutStrategy extends Object implements IndexLayoutStrategy
A simple layout strategy for indexes:
  • Elasticsearch index names follow the format used by Elasticsearch's Rollover API: <hsearchname>-<6 digits>. See <target-index> here: https://www.elastic.co/guide/en/elasticsearch/reference/7.10/indices-rollover-index.html#rollover-index-api-path-params
  • The write alias is <hsearchname>-write.
  • The read alias is <hsearchname>-read.