File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -643,9 +643,6 @@ def test_alias():
643
643
index1 = getClient ()
644
644
index2 = getClient ()
645
645
646
- index1 .hset ("index1:lonestar" , mapping = {"name" : "lonestar" })
647
- index2 .hset ("index2:yogurt" , mapping = {"name" : "yogurt" })
648
-
649
646
def1 = IndexDefinition (prefix = ["index1:" ])
650
647
def2 = IndexDefinition (prefix = ["index2:" ])
651
648
@@ -654,6 +651,9 @@ def test_alias():
654
651
ftindex1 .create_index ((TextField ("name" ),), definition = def1 )
655
652
ftindex2 .create_index ((TextField ("name" ),), definition = def2 )
656
653
654
+ index1 .hset ("index1:lonestar" , mapping = {"name" : "lonestar" })
655
+ index2 .hset ("index2:yogurt" , mapping = {"name" : "yogurt" })
656
+
657
657
res = ftindex1 .search ("*" ).docs [0 ]
658
658
assert "index1:lonestar" == res .id
659
659
You can’t perform that action at this time.
0 commit comments