Constructor and Description |
---|
CreateOrUpdateIndexerOptions(SearchIndexer indexer)
Creates the property bag used to create or update an
indexer . |
Modifier and Type | Method and Description |
---|---|
SearchIndexer |
getIndexer()
Gets the
indexer that will be created or updated. |
Boolean |
isCacheReprocessingChangeDetectionDisabled()
Gets an optional flag that determines whether the created or updated
indexer disables cache
reprocessing change detection. |
Boolean |
isCacheResetRequirementsIgnored()
Gets an optional flag that determines whether the created or updated
indexer ignores cache
reset requirements. |
boolean |
isOnlyIfUnchanged()
Gets the flag that determines whether an update will only occur if the
indexer has not been
changed since the update has been triggered. |
CreateOrUpdateIndexerOptions |
setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
Sets an optional flag that determines whether the created or updated
indexer disables cache
reprocessing change detection. |
CreateOrUpdateIndexerOptions |
setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
Sets an optional flag that determines whether the created or updated
indexer ignores cache
reset requirements. |
CreateOrUpdateIndexerOptions |
setOnlyIfUnchanged(boolean onlyIfUnchanged)
Sets the flag that determines whether an update will only occur if the
indexer has not been
changed since the update has been triggered. |
public CreateOrUpdateIndexerOptions(SearchIndexer indexer)
indexer
.indexer
- The indexer
being created or updated.NullPointerException
- If indexer
is null.public SearchIndexer getIndexer()
indexer
that will be created or updated.indexer
that will be created or updated.public CreateOrUpdateIndexerOptions setOnlyIfUnchanged(boolean onlyIfUnchanged)
indexer
has not been
changed since the update has been triggered.onlyIfUnchanged
- Flag that determines whether an update will only occur if the indexer
has not been changed since the update has been triggered.public boolean isOnlyIfUnchanged()
indexer
has not been
changed since the update has been triggered.indexer
has not been changed since the
update has been triggered.public CreateOrUpdateIndexerOptions setCacheReprocessingChangeDetectionDisabled(Boolean cacheReprocessingChangeDetectionDisabled)
indexer
disables cache
reprocessing change detection.cacheReprocessingChangeDetectionDisabled
- An optional flag that determines whether the created or updated
indexer
disables cache reprocessing change detection.public Boolean isCacheReprocessingChangeDetectionDisabled()
indexer
disables cache
reprocessing change detection.indexer
disables cache reprocessing change
detection.public CreateOrUpdateIndexerOptions setCacheResetRequirementsIgnored(Boolean cacheResetRequirementsIgnored)
indexer
ignores cache
reset requirements.cacheResetRequirementsIgnored
- An optional flag that determines whether the created or updated indexer
ignores cache reset requirements.Copyright © 2021 Microsoft Corporation. All rights reserved.