Class IndexNamePrefixLayoutStrategy

java.lang.Object
ca.uhn.fhir.jpa.search.elastic.IndexNamePrefixLayoutStrategy
All Implemented Interfaces:
org.hibernate.search.backend.elasticsearch.index.layout.IndexLayoutStrategy

@Service public class IndexNamePrefixLayoutStrategy extends Object implements org.hibernate.search.backend.elasticsearch.index.layout.IndexLayoutStrategy
This class instructs hibernate search on how to create index names for indexed entities. In our case, we use this class to add an optional prefix to all indices which are created, which can be controlled via JpaStorageSettings.setHSearchIndexPrefix(String).