Class IndexNames
java.lang.Object
org.hibernate.search.backend.elasticsearch.index.layout.impl.IndexNames
-
Constructor Summary
ConstructorsConstructorDescriptionIndexNames(String hibernateSearch, URLEncodedString write, boolean writeIsAlias, URLEncodedString read, boolean readIsAlias) -
Method Summary
Modifier and TypeMethodDescriptionstatic URLEncodedStringencodeName(String name) static StringnormalizeName(String indexName) read()booleantoString()write()boolean
-
Constructor Details
-
IndexNames
public IndexNames(String hibernateSearch, URLEncodedString write, boolean writeIsAlias, URLEncodedString read, boolean readIsAlias)
-
-
Method Details
-
normalizeName
-
encodeName
-
toString
-
hibernateSearchIndex
- Returns:
- The Hibernate Search index name, i.e. the name that Hibernate Search uses internally to designate that index, for example in configuration files.
-
write
- Returns:
- The write name, i.e. the name that Hibernate Search is supposed to use when indexing or purging the index.
-
writeIsAlias
public boolean writeIsAlias()- Returns:
- Whether the
write nameis an alias (true) or not (false).
-
read
- Returns:
- The read name, i.e. the name that Hibernate Search is supposed to use when executing searches on the index.
-
readIsAlias
public boolean readIsAlias()- Returns:
- Whether the
write nameis an alias (true) or not (false).
-