Class SearchDefinition


  • public class SearchDefinition
    extends Object
    An object for storing information about search definitions in the centralized directory services.
    Author:
    Steinar Knutsen
    • Constructor Detail

      • SearchDefinition

        public SearchDefinition​(String name)
    • Method Detail

      • getName

        public String getName()
      • getDefaultPosition

        public String getDefaultPosition()
      • addIndex

        public void addIndex​(Index index)
      • addAlias

        public void addAlias​(String alias,
                             String indexName)
      • getIndexByLowerCase

        public Index getIndexByLowerCase​(String name)
      • indices

        public Map<String,​Index> indices()
        Returns the indices of this as a map
      • getOrCreateIndex

        public Index getOrCreateIndex​(String name)
      • addCommand

        public void addCommand​(String indexName,
                               String commandString)