你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SearchIndexerLimits Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.SearchIndexerLimits

Implements

public final class SearchIndexerLimits
implements JsonSerializable<SearchIndexerLimits>

The SearchIndexerLimits model.

Constructor Summary

Constructor Description
SearchIndexerLimits()

Creates an instance of SearchIndexerLimits class.

Method Summary

Modifier and Type Method and Description
static SearchIndexerLimits fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerLimits from the JsonReader.

Long getMaxDocumentContentCharactersToExtract()

Get the maxDocumentContentCharactersToExtract property: The maximum number of characters that will be extracted from a document picked up for indexing.

Long getMaxDocumentExtractionSize()

Get the maxDocumentExtractionSize property: The maximum size of a document, in bytes, which will be considered valid for indexing.

Duration getMaxRunTime()

Get the maxRunTime property: The maximum duration that the indexer is permitted to run for one execution.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SearchIndexerLimits

public SearchIndexerLimits()

Creates an instance of SearchIndexerLimits class.

Method Details

fromJson

public static SearchIndexerLimits fromJson(JsonReader jsonReader)

Reads an instance of SearchIndexerLimits from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchIndexerLimits if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SearchIndexerLimits.

getMaxDocumentContentCharactersToExtract

public Long getMaxDocumentContentCharactersToExtract()

Get the maxDocumentContentCharactersToExtract property: The maximum number of characters that will be extracted from a document picked up for indexing.

Returns:

the maxDocumentContentCharactersToExtract value.

getMaxDocumentExtractionSize

public Long getMaxDocumentExtractionSize()

Get the maxDocumentExtractionSize property: The maximum size of a document, in bytes, which will be considered valid for indexing.

Returns:

the maxDocumentExtractionSize value.

getMaxRunTime

public Duration getMaxRunTime()

Get the maxRunTime property: The maximum duration that the indexer is permitted to run for one execution.

Returns:

the maxRunTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to