Class MarkdownParsingSubmode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<MarkdownParsingSubmode>
com.azure.search.documents.indexes.models.MarkdownParsingSubmode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class MarkdownParsingSubmode
extends com.azure.core.util.ExpandableStringEnum<MarkdownParsingSubmode>
Specifies the submode that will determine whether a markdown file will be parsed into exactly one search document or
multiple search documents. Default is `oneToMany`.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkdownParsingSubmodeIndicates that each section of the markdown file (up to a specified depth) will be parsed into individual search documents.static final MarkdownParsingSubmodeIndicates that each markdown file will be parsed into a single search document. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MarkdownParsingSubmodefromString(String name) Creates or finds a MarkdownParsingSubmode from its string representation.static Collection<MarkdownParsingSubmode> values()Gets known MarkdownParsingSubmode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ONE_TO_MANY
Indicates that each section of the markdown file (up to a specified depth) will be parsed into individual search documents. This can result in a single markdown file producing multiple search documents. This is the default sub-mode. -
ONE_TO_ONE
Indicates that each markdown file will be parsed into a single search document.
-
-
Constructor Details
-
MarkdownParsingSubmode
Deprecated.Use thefromString(String)factory method.Creates a new instance of MarkdownParsingSubmode value.
-
-
Method Details
-
fromString
Creates or finds a MarkdownParsingSubmode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding MarkdownParsingSubmode.
-
values
Gets known MarkdownParsingSubmode values.- Returns:
- known MarkdownParsingSubmode values.
-
fromString(String)factory method.