@azure/search-documents_1.0.0-preview.4
Pre-release
Pre-release
1.0.0-preview.4 (2020-06-08)
- [Breaking] Changed
ListIndexes
operation to a pageable operation. - [Breaking] Added
onlyIfUnchanged
parameter for CreateOrUpdate and Delete operations. - [Breaking] Removed
$select
property for the List operations. - [Breaking] Refactored
SearchServiceClient
and split it toSearchIndexClient
andSearchIndexerClient
and changedSearchIndexClient
class toSearchClient
class. - [Breaking] Moved non-optional parameters from options bag.
- [Breaking] Renamed
countDocuments
method togetDocumentsCount
method. - [Breaking] In
search
method, moved thesearchText
parameter from the options bag to method parameter. - [Breaking] In
indexDocuments
method, the options parameter is renamed toIndexDocumentsOptions
. - [Breaking] Modified
deleteDocuments
method to get documents as a parameter. - [Breaking] In
getIndexStatistics
method, renamed the return type fromGetIndexStatisticsResult
toSearchIndexStatistics
. - [Breaking] In
getServiceStatistics
method, renamed the return type fromServiceStatistics
toSearchServiceStatistics
. - [Breaking] Modified
DataSource
model name toDataSourceConnection
. Changed all references in the method names, parameters, etc. - [Breaking] Renamed
SimpleDataType
model toSearchFieldDataType
model. - [Breaking] Modified the names of several models & parameters. Please refer #8984, #9037 and #8383 for a detailed list of renames.
- Added separate methods for getting just names such as
listIndexesNames
,listSynonymMapsNames
, etc. - Added
getSearchClient
method to theSearchIndexClient
class.