com.groupdocs.search.options

Class UpdateOptions

    • Constructor Detail

      • UpdateOptions

        public UpdateOptions()
        Initializes a new instance of the UpdateOptions class.
    • Method Detail

      • getThreads

        public final int getThreads()
        Gets the number of threads used for indexing. The default value is 1.
        Returns:
        The number of threads used for indexing.
      • setThreads

        public final void setThreads(int value)
        Sets the number of threads used for indexing. The default value is 1.
        Parameters:
        value - The number of threads used for indexing.
      • isAsync

        public final boolean isAsync()
        Gets the flag of asynchronous performing the operation. The default value is false.
        Returns:
        The flag of asynchronous performing the operation.
      • setAsync

        public final void setAsync(boolean value)
        Sets the flag of asynchronous performing the operation. The default value is false.
        Parameters:
        value - The flag of asynchronous performing the operation.
      • getCancellation

        public final Cancellation getCancellation()
        Gets the operation cancellation object. The default value is null.
        Returns:
        The operation cancellation object.
      • setCancellation

        public final void setCancellation(Cancellation value)
        Sets the operation cancellation object. The default value is null.
        Parameters:
        value - The operation cancellation object.
      • getMetadataIndexingOptions

        public final MetadataIndexingOptions getMetadataIndexingOptions()
        Gets the options for indexing metadata fields.
        Returns:
        The options for indexing metadata fields.
      • getOcrIndexingOptions

        public final OcrIndexingOptions getOcrIndexingOptions()
        Gets the options for OCR processing and indexing recognized text.
        Returns:
        The options for OCR processing and indexing recognized text.
      • getImageIndexingOptions

        public final ImageIndexingOptions getImageIndexingOptions()
        Gets the image indexing options for reverse image search.
        Returns:
        The image indexing options for reverse image search.