@azure/search-documents 12.0.0-alpha.20240126.1 → 12.0.0-alpha.20240307.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -406,7 +406,7 @@ async function main() {
|
|
|
406
406
|
const searchResults = await client.search("WiFi", {
|
|
407
407
|
filter: odata`Rooms/any(room: room/BaseRate lt ${baseRateMax}) and Rating ge ${ratingMin}`,
|
|
408
408
|
orderBy: ["Rating desc"],
|
|
409
|
-
select: ["hotelId", "hotelName", "
|
|
409
|
+
select: ["hotelId", "hotelName", "Rating"],
|
|
410
410
|
});
|
|
411
411
|
for await (const result of searchResults.results) {
|
|
412
412
|
// Each result will have "HotelId", "HotelName", and "Rating"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure/search-documents",
|
|
3
|
-
"version": "12.0.0-alpha.
|
|
3
|
+
"version": "12.0.0-alpha.20240307.1",
|
|
4
4
|
"description": "Azure client library to use Cognitive Search for node.js and browser.",
|
|
5
5
|
"sdk-type": "client",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"build:test": "tsc -p . && dev-tool run bundle",
|
|
16
16
|
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
|
|
17
17
|
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
18
|
-
"clean": "rimraf dist dist-* temp types *.tgz *.log",
|
|
18
|
+
"clean": "rimraf --glob dist dist-* temp types *.tgz *.log",
|
|
19
19
|
"extract-api": "tsc -p . && api-extractor run --local",
|
|
20
20
|
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"",
|
|
21
21
|
"generate:client": "autorest --typescript swagger/Service.md & autorest --typescript swagger/Data.md & wait",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"karma-sourcemap-loader": "^0.3.8",
|
|
124
124
|
"mocha": "^10.0.0",
|
|
125
125
|
"c8": "^8.0.0",
|
|
126
|
-
"rimraf": "^
|
|
126
|
+
"rimraf": "^5.0.5",
|
|
127
127
|
"sinon": "^17.0.0",
|
|
128
128
|
"ts-node": "^10.0.0",
|
|
129
129
|
"typescript": "~5.3.3",
|