Commit eff8b4f
committed
feat: Add index-level STOPWORDS configuration support
Add support for configuring stopwords at index creation time via IndexInfo.stopwords field.
- Add stopwords field to IndexInfo class (None/[]/custom list)
- Update SearchIndex.create() and AsyncSearchIndex.create() to pass stopwords
- Update convert_index_info_to_schema() to parse stopwords from FT.INFO
- Update cluster_create_index() functions to accept stopwords parameter
- Add warning when using query-time stopwords with index-level STOPWORDS 0
- Add comprehensive documentation in 11_advanced_queries.ipynb
- Create stopwords_interaction_guide.md explaining best practices1 parent 94e2ff2 commit eff8b4f
File tree
7 files changed
+1055
-68
lines changed- docs/user_guide
- redisvl
- index
- redis
- schema
- tests
- integration
- unit
7 files changed
+1055
-68
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
251 | 276 | | |
252 | 277 | | |
253 | 278 | | |
| |||
601 | 626 | | |
602 | 627 | | |
603 | 628 | | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
604 | 632 | | |
605 | 633 | | |
606 | 634 | | |
607 | 635 | | |
608 | 636 | | |
609 | 637 | | |
| 638 | + | |
610 | 639 | | |
611 | 640 | | |
612 | 641 | | |
613 | 642 | | |
614 | 643 | | |
| 644 | + | |
615 | 645 | | |
616 | 646 | | |
617 | 647 | | |
| |||
1384 | 1414 | | |
1385 | 1415 | | |
1386 | 1416 | | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1387 | 1420 | | |
1388 | 1421 | | |
1389 | 1422 | | |
1390 | 1423 | | |
1391 | 1424 | | |
1392 | 1425 | | |
| 1426 | + | |
1393 | 1427 | | |
1394 | 1428 | | |
1395 | 1429 | | |
1396 | 1430 | | |
1397 | 1431 | | |
| 1432 | + | |
1398 | 1433 | | |
1399 | 1434 | | |
1400 | 1435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
207 | 218 | | |
208 | 219 | | |
209 | 220 | | |
| |||
411 | 422 | | |
412 | 423 | | |
413 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
414 | 429 | | |
415 | | - | |
| 430 | + | |
416 | 431 | | |
417 | 432 | | |
418 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
67 | 71 | | |
68 | 72 | | |
69 | 73 | | |
| |||
0 commit comments