| Package | Description |
|---|---|
| com.azure.search.documents.indexes.models |
Package containing classes used for resource management operations that are being sent-to and received-from an
Azure Cognitive Search service.
|
| Modifier and Type | Method and Description |
|---|---|
CorsOptions |
SearchIndex.getCorsOptions()
Get the corsOptions property: Options to control Cross-Origin Resource
Sharing (CORS) for the index.
|
CorsOptions |
CorsOptions.setMaxAgeInSeconds(Long maxAgeInSeconds)
Set the maxAgeInSeconds property: The duration for which browsers should
cache CORS preflight responses.
|
| Modifier and Type | Method and Description |
|---|---|
SearchIndex |
SearchIndex.setCorsOptions(CorsOptions corsOptions)
Set the corsOptions property: Options to control Cross-Origin Resource
Sharing (CORS) for the index.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.