|
18 | 18 | }, |
19 | 19 | { |
20 | 20 | "cell_type": "code", |
21 | | - "execution_count": 1, |
| 21 | + "execution_count": null, |
22 | 22 | "id": "0b40bb5b", |
23 | 23 | "metadata": {}, |
24 | 24 | "outputs": [], |
|
88 | 88 | }, |
89 | 89 | { |
90 | 90 | "cell_type": "code", |
91 | | - "execution_count": 3, |
| 91 | + "execution_count": null, |
92 | 92 | "id": "b25aaf7b", |
93 | 93 | "metadata": {}, |
94 | | - "outputs": [ |
95 | | - { |
96 | | - "name": "stdout", |
97 | | - "output_type": "stream", |
98 | | - "text": [ |
99 | | - "Datasource 'document-permissions-sample-datasource' created with permission filter option enabled.\n" |
100 | | - ] |
101 | | - } |
102 | | - ], |
| 94 | + "outputs": [], |
103 | 95 | "source": [ |
104 | 96 | "from azure.search.documents.indexes.models import SearchIndexerDataSourceConnection, SearchIndexerDataSourceType, IndexerPermissionOption, SearchIndexerDataContainer, DataSourceCredentials\n", |
105 | 97 | "from azure.search.documents.indexes import SearchIndexerClient\n", |
|
126 | 118 | }, |
127 | 119 | { |
128 | 120 | "cell_type": "code", |
129 | | - "execution_count": 4, |
| 121 | + "execution_count": null, |
130 | 122 | "id": "329fe160", |
131 | 123 | "metadata": {}, |
132 | 124 | "outputs": [], |
|
149 | 141 | }, |
150 | 142 | { |
151 | 143 | "cell_type": "code", |
152 | | - "execution_count": 9, |
| 144 | + "execution_count": null, |
153 | 145 | "id": "acd28b29", |
154 | 146 | "metadata": {}, |
155 | | - "outputs": [ |
156 | | - { |
157 | | - "data": { |
158 | | - "text/plain": [ |
159 | | - "{'counters': {'directories_successful': 1, 'files_successful': 1, 'failure_count': 0}, 'continuation': None}" |
160 | | - ] |
161 | | - }, |
162 | | - "execution_count": 9, |
163 | | - "metadata": {}, |
164 | | - "output_type": "execute_result" |
165 | | - } |
166 | | - ], |
| 147 | + "outputs": [], |
167 | 148 | "source": [ |
168 | 149 | "from azure.storage.filedatalake import DataLakeServiceClient\n", |
169 | 150 | "import requests\n", |
|
203 | 184 | }, |
204 | 185 | { |
205 | 186 | "cell_type": "code", |
206 | | - "execution_count": 20, |
| 187 | + "execution_count": null, |
207 | 188 | "id": "2ce7eb5e", |
208 | 189 | "metadata": {}, |
209 | | - "outputs": [ |
210 | | - { |
211 | | - "name": "stdout", |
212 | | - "output_type": "stream", |
213 | | - "text": [ |
214 | | - "Indexer 'document-permissions-sample-indexer' created\n" |
215 | | - ] |
216 | | - } |
217 | | - ], |
| 190 | + "outputs": [], |
218 | 191 | "source": [ |
219 | 192 | "from azure.search.documents.indexes.models import SearchIndexer, FieldMapping\n", |
220 | 193 | "\n", |
|
245 | 218 | "execution_count": null, |
246 | 219 | "id": "7a899da1", |
247 | 220 | "metadata": {}, |
248 | | - "outputs": [ |
249 | | - { |
250 | | - "name": "stdout", |
251 | | - "output_type": "stream", |
252 | | - "text": [ |
253 | | - "Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/data/sample.txt, OID: ['none'], Group: ['ec5aece9-33fc-4b2e-abe1-aedf771357a3']\n" |
254 | | - ] |
255 | | - } |
256 | | - ], |
| 221 | + "outputs": [], |
257 | 222 | "source": [ |
258 | 223 | "from azure.search.documents import SearchClient\n", |
259 | 224 | "search_client = SearchClient(endpoint=endpoint, index_name=index_name, credential=credential)\n", |
|
273 | 238 | }, |
274 | 239 | { |
275 | 240 | "cell_type": "code", |
276 | | - "execution_count": 14, |
| 241 | + "execution_count": null, |
277 | 242 | "id": "72d203f0", |
278 | 243 | "metadata": {}, |
279 | | - "outputs": [ |
280 | | - { |
281 | | - "name": "stdout", |
282 | | - "output_type": "stream", |
283 | | - "text": [ |
284 | | - "Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/state-parks/oregon/oregon_state_parks.csv, OID: [], Group: []\n", |
285 | | - "Path: https://magotteiadlsgen2.blob.core.windows.net/documentpermissionssample/state-parks/oregon/oregon_state_parks.csv, OID: [], Group: []\n" |
286 | | - ] |
287 | | - } |
288 | | - ], |
| 244 | + "outputs": [], |
289 | 245 | "source": [ |
290 | 246 | "from azure.search.documents import SearchClient\n", |
291 | 247 | "search_client = SearchClient(endpoint=endpoint, index_name=index_name, credential=credential)\n", |
|
0 commit comments