Class BlobIndexerImageAction

java.lang.Object
com.azure.core.util.ExpandableStringEnum<BlobIndexerImageAction>
com.azure.search.documents.indexes.models.BlobIndexerImageAction
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class BlobIndexerImageAction extends com.azure.core.util.ExpandableStringEnum<BlobIndexerImageAction>
Determines how to process embedded images and image files in Azure blob storage. Setting the "imageAction" configuration to any value other than "none" requires that a skillset also be attached to that indexer.
  • Field Details

    • NONE

      public static final BlobIndexerImageAction NONE
      Ignores embedded images or image files in the data set. This is the default.
    • GENERATE_NORMALIZED_IMAGES

      public static final BlobIndexerImageAction GENERATE_NORMALIZED_IMAGES
      Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field. This action requires that "dataToExtract" is set to "contentAndMetadata". A normalized image refers to additional processing resulting in uniform image output, sized and rotated to promote consistent rendering when you include images in visual search results. This information is generated for each image when you use this option.
    • GENERATE_NORMALIZED_IMAGE_PER_PAGE

      public static final BlobIndexerImageAction GENERATE_NORMALIZED_IMAGE_PER_PAGE
      Extracts text from images (for example, the word "STOP" from a traffic stop sign), and embeds it into the content field, but treats PDF files differently in that each page will be rendered as an image and normalized accordingly, instead of extracting embedded images. Non-PDF file types will be treated the same as if "generateNormalizedImages" was set.
  • Constructor Details

    • BlobIndexerImageAction

      @Deprecated public BlobIndexerImageAction()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of BlobIndexerImageAction value.
  • Method Details

    • fromString

      public static BlobIndexerImageAction fromString(String name)
      Creates or finds a BlobIndexerImageAction from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding BlobIndexerImageAction.
    • values

      public static Collection<BlobIndexerImageAction> values()
      Gets known BlobIndexerImageAction values.
      Returns:
      known BlobIndexerImageAction values.