|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"search": "hotel"}' |
| 4 | + headers: |
| 5 | + Accept: |
| 6 | + - application/json;odata.metadata=none |
| 7 | + Content-Length: |
| 8 | + - '19' |
| 9 | + Content-Type: |
| 10 | + - application/json |
| 11 | + User-Agent: |
| 12 | + - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) |
| 13 | + method: POST |
| 14 | + uri: https://search6e8a1a80.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 |
| 15 | + response: |
| 16 | + body: |
| 17 | + string: '{"value":[{"@search.score":2.245087,"hotelId":"10","hotelName":"Countryside |
| 18 | + Hotel","description":"Save up to 50% off traditional hotels. Free WiFi, great |
| 19 | + location near downtown, full kitchen, washer & dryer, 24/7 support, bowling |
| 20 | + alley, fitness center and more.","descriptionFr":"\u00c9conomisez jusqu''\u00e0 |
| 21 | + 50% sur les h\u00f4tels traditionnels. WiFi gratuit, tr\u00e8s bien situ\u00e9 |
| 22 | + pr\u00e8s du centre-ville, cuisine compl\u00e8te, laveuse & s\u00e9cheuse, |
| 23 | + support 24/7, bowling, centre de fitness et plus encore.","category":"Budget","tags":["24-hour |
| 24 | + front desk service","coffee in lobby","restaurant"],"parkingIncluded":false,"smokingAllowed":true,"lastRenovationDate":"1999-09-06T00:00:00Z","rating":3,"location":{"type":"Point","coordinates":[-78.940483,35.90416],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":{"streetAddress":"6910 |
| 25 | + Fayetteville Rd","city":"Durham","stateProvince":"NC","country":"USA","postalCode":"27713"},"rooms":[{"description":"Suite, |
| 26 | + 1 King Bed (Amenities)","descriptionFr":"Suite, 1 tr\u00e8s grand lit (Services)","type":"Suite","baseRate":2.44,"bedOptions":"1 |
| 27 | + King Bed","sleepsCount":2,"smokingAllowed":true,"tags":["coffee maker"]},{"description":"Budget |
| 28 | + Room, 1 Queen Bed (Amenities)","descriptionFr":"Chambre \u00c9conomique, 1 |
| 29 | + grand lit (Services)","type":"Budget Room","baseRate":7.69,"bedOptions":"1 |
| 30 | + Queen Bed","sleepsCount":2,"smokingAllowed":false,"tags":["coffee maker"]}]},{"@search.score":1.778081,"hotelId":"3","hotelName":"EconoStay","description":"Very |
| 31 | + popular hotel in town","descriptionFr":"H\u00f4tel le plus populaire en ville","category":"Budget","tags":["wifi","budget"],"parkingIncluded":true,"smokingAllowed":false,"lastRenovationDate":"1995-07-01T00:00:00Z","rating":4,"location":{"type":"Point","coordinates":[-122.131577,46.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":1.778081,"hotelId":"4","hotelName":"Express |
| 32 | + Rooms","description":"Pretty good hotel","descriptionFr":"Assez bon h\u00f4tel","category":"Budget","tags":["wifi","budget"],"parkingIncluded":true,"smokingAllowed":false,"lastRenovationDate":"1995-07-01T00:00:00Z","rating":4,"location":{"type":"Point","coordinates":[-122.131577,48.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":1.778081,"hotelId":"5","hotelName":"Comfy |
| 33 | + Place","description":"Another good hotel","descriptionFr":"Un autre bon h\u00f4tel","category":"Budget","tags":["wifi","budget"],"parkingIncluded":true,"smokingAllowed":false,"lastRenovationDate":"2012-08-12T00:00:00Z","rating":4,"location":{"type":"Point","coordinates":[-122.131577,48.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":1.5749159,"hotelId":"2","hotelName":"Roach |
| 34 | + Motel","description":"Cheapest hotel in town. Infact, a motel.","descriptionFr":"H\u00f4tel |
| 35 | + le moins cher en ville. Infact, un motel.","category":"Budget","tags":["motel","budget"],"parkingIncluded":true,"smokingAllowed":true,"lastRenovationDate":"1982-04-28T00:00:00Z","rating":1,"location":{"type":"Point","coordinates":[-122.131577,49.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":1.4634744,"hotelId":"1","hotelName":"Fancy |
| 36 | + Stay","description":"Best hotel in town if you like luxury hotels. They have |
| 37 | + an amazing infinity pool, a spa, and a really helpful concierge. The location |
| 38 | + is perfect -- right downtown, close to all the tourist attractions. We highly |
| 39 | + recommend this hotel.","descriptionFr":"Meilleur h\u00f4tel en ville si vous |
| 40 | + aimez les h\u00f4tels de luxe. Ils ont une magnifique piscine \u00e0 d\u00e9bordement, |
| 41 | + un spa et un concierge tr\u00e8s utile. L''emplacement est parfait \u2013 |
| 42 | + en plein centre, \u00e0 proximit\u00e9 de toutes les attractions touristiques. |
| 43 | + Nous recommandons fortement cet h\u00f4tel.","category":"Luxury","tags":["pool","view","wifi","concierge"],"parkingIncluded":false,"smokingAllowed":false,"lastRenovationDate":"2010-06-27T00:00:00Z","rating":5,"location":{"type":"Point","coordinates":[-122.131577,47.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":0.5496142,"hotelId":"9","hotelName":"Secret |
| 44 | + Point Motel","description":"The hotel is ideally located on the main commercial |
| 45 | + artery of the city in the heart of New York. A few minutes away is Time''s |
| 46 | + Square and the historic centre of the city, as well as other places of interest |
| 47 | + that make New York one of America''s most attractive and cosmopolitan cities.","descriptionFr":"L''h\u00f4tel |
| 48 | + est id\u00e9alement situ\u00e9 sur la principale art\u00e8re commerciale de |
| 49 | + la ville en plein c\u0153ur de New York. A quelques minutes se trouve la place |
| 50 | + du temps et le centre historique de la ville, ainsi que d''autres lieux d''int\u00e9r\u00eat |
| 51 | + qui font de New York l''une des villes les plus attractives et cosmopolites |
| 52 | + de l''Am\u00e9rique.","category":"Boutique","tags":["pool","air conditioning","concierge"],"parkingIncluded":false,"smokingAllowed":true,"lastRenovationDate":"1970-01-18T05:00:00Z","rating":4,"location":{"type":"Point","coordinates":[-73.975403,40.760586],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":{"streetAddress":"677 |
| 53 | + 5th Ave","city":"New York","stateProvince":"NY","country":"USA","postalCode":"10022"},"rooms":[{"description":"Budget |
| 54 | + Room, 1 Queen Bed (Cityside)","descriptionFr":"Chambre \u00c9conomique, 1 |
| 55 | + grand lit (c\u00f4t\u00e9 ville)","type":"Budget Room","baseRate":9.69,"bedOptions":"1 |
| 56 | + Queen Bed","sleepsCount":2,"smokingAllowed":true,"tags":["vcr/dvd"]},{"description":"Budget |
| 57 | + Room, 1 King Bed (Mountain View)","descriptionFr":"Chambre \u00c9conomique, |
| 58 | + 1 tr\u00e8s grand lit (Mountain View)","type":"Budget Room","baseRate":8.09,"bedOptions":"1 |
| 59 | + King Bed","sleepsCount":2,"smokingAllowed":true,"tags":["vcr/dvd","jacuzzi |
| 60 | + tub"]}]}]}' |
| 61 | + headers: |
| 62 | + cache-control: no-cache |
| 63 | + content-encoding: gzip |
| 64 | + content-length: '2378' |
| 65 | + content-type: application/json; odata.metadata=none |
| 66 | + date: Fri, 28 Aug 2020 21:07:53 GMT |
| 67 | + elapsed-time: '83' |
| 68 | + expires: '-1' |
| 69 | + odata-version: '4.0' |
| 70 | + pragma: no-cache |
| 71 | + preference-applied: odata.include-annotations="*" |
| 72 | + request-id: 8a56c06f-e972-11ea-a554-5cf37071153c |
| 73 | + strict-transport-security: max-age=15724800; includeSubDomains |
| 74 | + vary: Accept-Encoding |
| 75 | + status: |
| 76 | + code: 200 |
| 77 | + message: OK |
| 78 | + url: https://search6e8a1a80.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 |
| 79 | +- request: |
| 80 | + body: '{"search": "motel"}' |
| 81 | + headers: |
| 82 | + Accept: |
| 83 | + - application/json;odata.metadata=none |
| 84 | + Content-Length: |
| 85 | + - '19' |
| 86 | + Content-Type: |
| 87 | + - application/json |
| 88 | + User-Agent: |
| 89 | + - azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0) |
| 90 | + method: POST |
| 91 | + uri: https://search6e8a1a80.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 |
| 92 | + response: |
| 93 | + body: |
| 94 | + string: '{"value":[{"@search.score":8.376183,"hotelId":"2","hotelName":"Roach |
| 95 | + Motel","description":"Cheapest hotel in town. Infact, a motel.","descriptionFr":"H\u00f4tel |
| 96 | + le moins cher en ville. Infact, un motel.","category":"Budget","tags":["motel","budget"],"parkingIncluded":true,"smokingAllowed":true,"lastRenovationDate":"1982-04-28T00:00:00Z","rating":1,"location":{"type":"Point","coordinates":[-122.131577,49.678581],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":null,"rooms":[]},{"@search.score":0.8858137,"hotelId":"9","hotelName":"Secret |
| 97 | + Point Motel","description":"The hotel is ideally located on the main commercial |
| 98 | + artery of the city in the heart of New York. A few minutes away is Time''s |
| 99 | + Square and the historic centre of the city, as well as other places of interest |
| 100 | + that make New York one of America''s most attractive and cosmopolitan cities.","descriptionFr":"L''h\u00f4tel |
| 101 | + est id\u00e9alement situ\u00e9 sur la principale art\u00e8re commerciale de |
| 102 | + la ville en plein c\u0153ur de New York. A quelques minutes se trouve la place |
| 103 | + du temps et le centre historique de la ville, ainsi que d''autres lieux d''int\u00e9r\u00eat |
| 104 | + qui font de New York l''une des villes les plus attractives et cosmopolites |
| 105 | + de l''Am\u00e9rique.","category":"Boutique","tags":["pool","air conditioning","concierge"],"parkingIncluded":false,"smokingAllowed":true,"lastRenovationDate":"1970-01-18T05:00:00Z","rating":4,"location":{"type":"Point","coordinates":[-73.975403,40.760586],"crs":{"type":"name","properties":{"name":"EPSG:4326"}}},"address":{"streetAddress":"677 |
| 106 | + 5th Ave","city":"New York","stateProvince":"NY","country":"USA","postalCode":"10022"},"rooms":[{"description":"Budget |
| 107 | + Room, 1 Queen Bed (Cityside)","descriptionFr":"Chambre \u00c9conomique, 1 |
| 108 | + grand lit (c\u00f4t\u00e9 ville)","type":"Budget Room","baseRate":9.69,"bedOptions":"1 |
| 109 | + Queen Bed","sleepsCount":2,"smokingAllowed":true,"tags":["vcr/dvd"]},{"description":"Budget |
| 110 | + Room, 1 King Bed (Mountain View)","descriptionFr":"Chambre \u00c9conomique, |
| 111 | + 1 tr\u00e8s grand lit (Mountain View)","type":"Budget Room","baseRate":8.09,"bedOptions":"1 |
| 112 | + King Bed","sleepsCount":2,"smokingAllowed":true,"tags":["vcr/dvd","jacuzzi |
| 113 | + tub"]}]}]}' |
| 114 | + headers: |
| 115 | + cache-control: no-cache |
| 116 | + content-encoding: gzip |
| 117 | + content-length: '1269' |
| 118 | + content-type: application/json; odata.metadata=none |
| 119 | + date: Fri, 28 Aug 2020 21:07:55 GMT |
| 120 | + elapsed-time: '7' |
| 121 | + expires: '-1' |
| 122 | + odata-version: '4.0' |
| 123 | + pragma: no-cache |
| 124 | + preference-applied: odata.include-annotations="*" |
| 125 | + request-id: 8ac67395-e972-11ea-9c35-5cf37071153c |
| 126 | + strict-transport-security: max-age=15724800; includeSubDomains |
| 127 | + vary: Accept-Encoding |
| 128 | + status: |
| 129 | + code: 200 |
| 130 | + message: OK |
| 131 | + url: https://search6e8a1a80.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 |
| 132 | +version: 1 |
0 commit comments