Fix Search Documents Sample Issue (#28516)
Fixes #27563 @joheredi, @alzimmermsft, @dgetu for notification.
This commit is contained in:
Родитель
904adc979d
Коммит
8b73b5d043
|
@ -406,7 +406,7 @@ async function main() {
|
|||
const searchResults = await client.search("WiFi", {
|
||||
filter: odata`Rooms/any(room: room/BaseRate lt ${baseRateMax}) and Rating ge ${ratingMin}`,
|
||||
orderBy: ["Rating desc"],
|
||||
select: ["hotelId", "hotelName", "rating"],
|
||||
select: ["hotelId", "hotelName", "Rating"],
|
||||
});
|
||||
for await (const result of searchResults.results) {
|
||||
// Each result will have "HotelId", "HotelName", and "Rating"
|
||||
|
|
Загрузка…
Ссылка в новой задаче