Class IndexNames


  • public final class IndexNames
    extends Object
    • Method Detail

      • normalizeName

        public static String normalizeName​(String indexName)
      • hibernateSearchIndex

        public String 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

        public URLEncodedString 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 name is an alias (true) or not (false).
      • read

        public URLEncodedString 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 name is an alias (true) or not (false).