Class SearchDefinition

java.lang.Object
com.yahoo.prelude.SearchDefinition

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

    • SearchDefinition

      public SearchDefinition(String name)
  • Method Details

    • getName

      public String getName()
    • getDefaultPosition

      public String getDefaultPosition()
    • addIndex

      public void addIndex(Index index)
    • addAlias

      public void addAlias(String alias, String indexName)
    • getIndex

      public Index getIndex(String name)
    • 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)