Class HibernateSearchElasticsearchBuildTimeConfigPersistenceUnit.LayoutConfig

    • Field Detail

      • strategy

        @ConfigItem
        public Optional<String> strategy
        A <> to the component used to configure layout (e.g. index names, index aliases). The referenced bean must implement `IndexLayoutStrategy`. Available built-in implementations: `simple`:: The default, future-proof strategy: if the index name in Hibernate Search is `myIndex`, this strategy will create an index named `myindex-000001`, an alias for write operations named `myindex-write`, and an alias for read operations named `myindex-read`. `no-alias`:: A strategy without index aliases, mostly useful on legacy clusters: if the index name in Hibernate Search is `myIndex`, this strategy will create an index named `myindex`, and will not use any alias. See link:{hibernate-search-doc-prefix}#backend-elasticsearch-indexlayout[this section of the reference documentation] for more information.
    • Constructor Detail

      • LayoutConfig

        public LayoutConfig()