Package | Description |
---|---|
com.azure.search.documents.indexes.models |
Package containing classes for SearchServiceClient.
|
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 © 2021 Microsoft Corporation. All rights reserved.