com.groupdocs.search.common

Class AttributeChangeBatch

    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected AttributeChangeBatch()
      Initializes a new instance of the AttributeChangeBatch class.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract void add(String[] paths, String... attributes)
      Adds the specified attributes to the specified indexed documents.
      abstract void add(String path, String... attributes)
      Adds the specified attributes to the specified indexed document.
      abstract void addToAll(String... attributes)
      Adds the specified attributes to all documents in the index.
      abstract void clear()
      Removes all attributes from all documents in the index.
      static AttributeChangeBatch create()
      Initializes a new instance of the AttributeChangeBatch class.
      abstract void remove(String[] paths, String... attributes)
      Removes the specified attributes from the specified indexed documents.
      abstract void remove(String path, String... attributes)
      Removes the specified attributes from the specified indexed document.
      abstract void removeAll(String path)
      Removes all attributes from the specified indexed document.
      abstract void removeAll(String[] paths)
      Removes all attributes from the specified indexed documents.
      abstract void removeFromAll(String... attributes)
      Removes the specified attributes from all documents in the index.
    • Constructor Detail

      • AttributeChangeBatch

        protected AttributeChangeBatch()

        Initializes a new instance of the AttributeChangeBatch class.

    • Method Detail

      • create

        public static AttributeChangeBatch create()

        Initializes a new instance of the AttributeChangeBatch class.

      • add

        public abstract void add(String path,
               String... attributes)

        Adds the specified attributes to the specified indexed document.

        Parameters:
        path - The document path.
        attributes - The attributes to add.
      • add

        public abstract void add(String[] paths,
               String... attributes)

        Adds the specified attributes to the specified indexed documents.

        Parameters:
        paths - The documents paths.
        attributes - The attributes to add.
      • addToAll

        public abstract void addToAll(String... attributes)

        Adds the specified attributes to all documents in the index.

        Parameters:
        attributes - The attributes to add.
      • remove

        public abstract void remove(String path,
                  String... attributes)

        Removes the specified attributes from the specified indexed document.

        Parameters:
        path - The document path.
        attributes - The attributes to remove.
      • remove

        public abstract void remove(String[] paths,
                  String... attributes)

        Removes the specified attributes from the specified indexed documents.

        Parameters:
        paths - The documents paths.
        attributes - The attributes to remove.
      • removeAll

        public abstract void removeAll(String path)

        Removes all attributes from the specified indexed document.

        Parameters:
        path - The document path.
      • removeAll

        public abstract void removeAll(String[] paths)

        Removes all attributes from the specified indexed documents.

        Parameters:
        paths - The documents paths.
      • removeFromAll

        public abstract void removeFromAll(String... attributes)

        Removes the specified attributes from all documents in the index.

        Parameters:
        attributes - The attributes to remove.
      • clear

        public abstract void clear()

        Removes all attributes from all documents in the index.