Class SearchIndex


  • public class SearchIndex
    extends Object
    • Method Detail

      • from

        public static SearchIndex from​(String name,
                                       SearchIndex index)
        Creates another index from the given one with its properties, but clears out all state like the UUID so it can be used to create a new one.
        Parameters:
        name - the new name of the index
        index - the original index to copy the properties over
        Returns:
        a new index that can be used
      • fromJson

        public static SearchIndex fromJson​(byte[] raw)
      • toJson

        public byte[] toJson()