|
209 | 209 | },
|
210 | 210 | {
|
211 | 211 | "cell_type": "code",
|
212 |
| - "execution_count": 4, |
| 212 | + "execution_count": null, |
213 | 213 | "metadata": {},
|
214 |
| - "outputs": [ |
215 |
| - { |
216 |
| - "data": { |
217 |
| - "text/plain": [ |
218 |
| - "<redisvl.index.index.SearchIndex at 0x7fa6a8025280>" |
219 |
| - ] |
220 |
| - }, |
221 |
| - "execution_count": 4, |
222 |
| - "metadata": {}, |
223 |
| - "output_type": "execute_result" |
224 |
| - } |
225 |
| - ], |
| 214 | + "outputs": [], |
226 | 215 | "source": [
|
227 | 216 | "from redis import Redis\n",
|
228 | 217 | "\n",
|
|
249 | 238 | {
|
250 | 239 | "data": {
|
251 | 240 | "text/plain": [
|
252 |
| - "<redisvl.index.index.SearchIndex at 0x7fa6a8025280>" |
| 241 | + "<redisvl.index.index.SearchIndex at 0x7f8670a51190>" |
253 | 242 | ]
|
254 | 243 | },
|
255 | 244 | "execution_count": 5,
|
|
304 | 293 | "name": "stdout",
|
305 | 294 | "output_type": "stream",
|
306 | 295 | "text": [
|
307 |
| - "\u001b[32m08:47:35\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
308 |
| - "\u001b[32m08:47:35\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. user_simple\n" |
| 296 | + "\u001b[32m11:53:23\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
| 297 | + "\u001b[32m11:53:23\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. user_simple\n" |
309 | 298 | ]
|
310 | 299 | }
|
311 | 300 | ],
|
|
365 | 354 | "name": "stdout",
|
366 | 355 | "output_type": "stream",
|
367 | 356 | "text": [
|
368 |
| - "['user_simple_docs:89bbd3ddb4524dfaa5046839309d8368', 'user_simple_docs:67de72fab726490eaf7836e5278a64bf', 'user_simple_docs:684b33f4751e4a00b8661c8bb8893664']\n" |
| 357 | + "['user_simple_docs:d424b73c516442f7919cc11ed3bb1882', 'user_simple_docs:6da16f88342048e79b3500bec5448805', 'user_simple_docs:ef5a590ef85e4d4888fd8ebe79ae1e8c']\n" |
369 | 358 | ]
|
370 | 359 | }
|
371 | 360 | ],
|
|
399 | 388 | "name": "stdout",
|
400 | 389 | "output_type": "stream",
|
401 | 390 | "text": [
|
402 |
| - "['user_simple_docs:ea6e8f2f93d5447c950ccb6843627761']\n" |
| 391 | + "['user_simple_docs:9806a362604f4700b17513cc94fcf10d']\n" |
403 | 392 | ]
|
404 | 393 | }
|
405 | 394 | ],
|
|
487 | 476 | },
|
488 | 477 | {
|
489 | 478 | "cell_type": "code",
|
490 |
| - "execution_count": 13, |
| 479 | + "execution_count": null, |
491 | 480 | "metadata": {},
|
492 |
| - "outputs": [ |
493 |
| - { |
494 |
| - "data": { |
495 |
| - "text/plain": [ |
496 |
| - "<redisvl.index.index.AsyncSearchIndex at 0x7fa6b09977f0>" |
497 |
| - ] |
498 |
| - }, |
499 |
| - "execution_count": 13, |
500 |
| - "metadata": {}, |
501 |
| - "output_type": "execute_result" |
502 |
| - } |
503 |
| - ], |
| 481 | + "outputs": [], |
504 | 482 | "source": [
|
505 | 483 | "from redisvl.index import AsyncSearchIndex\n",
|
506 | 484 | "from redis.asyncio import Redis\n",
|
|
586 | 564 | "name": "stdout",
|
587 | 565 | "output_type": "stream",
|
588 | 566 | "text": [
|
589 |
| - "08:47:37 redisvl.index.index INFO Index already exists, overwriting.\n" |
| 567 | + "11:53:25 redisvl.index.index INFO Index already exists, overwriting.\n" |
590 | 568 | ]
|
591 | 569 | }
|
592 | 570 | ],
|
|
651 | 629 | "│ bytes_per_record_avg │ 1 │\n",
|
652 | 630 | "│ doc_table_size_mb │ 0.00044632 │\n",
|
653 | 631 | "│ inverted_sz_mb │ 1.90735e-05 │\n",
|
654 |
| - "│ key_table_size_mb │ 0.000165939 │\n", |
| 632 | + "│ key_table_size_mb │ 0.000138283 │\n", |
655 | 633 | "│ offset_bits_per_record_avg │ nan │\n",
|
656 | 634 | "│ offset_vectors_sz_mb │ 0 │\n",
|
657 | 635 | "│ offsets_per_term_avg │ 0 │\n",
|
658 | 636 | "│ records_per_doc_avg │ 5 │\n",
|
659 | 637 | "│ sortable_values_size_mb │ 0 │\n",
|
660 |
| - "│ total_indexing_time │ 0.246 │\n", |
| 638 | + "│ total_indexing_time │ 1.796 │\n", |
661 | 639 | "│ total_inverted_index_blocks │ 11 │\n",
|
662 |
| - "│ vector_index_sz_mb │ 0.0201416 │\n", |
| 640 | + "│ vector_index_sz_mb │ 0.235603 │\n", |
663 | 641 | "╰─────────────────────────────┴─────────────╯\n"
|
664 | 642 | ]
|
665 | 643 | }
|
|
0 commit comments