We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19819e0 commit c8cb715Copy full SHA for c8cb715
tests/test_search.py
@@ -643,9 +643,6 @@ def test_alias():
643
index1 = getClient()
644
index2 = getClient()
645
646
- index1.hset("index1:lonestar", mapping={"name": "lonestar"})
647
- index2.hset("index2:yogurt", mapping={"name": "yogurt"})
648
-
649
def1 = IndexDefinition(prefix=["index1:"])
650
def2 = IndexDefinition(prefix=["index2:"])
651
@@ -654,6 +651,9 @@ def test_alias():
654
ftindex1.create_index((TextField("name"),), definition=def1)
655
652
ftindex2.create_index((TextField("name"),), definition=def2)
656
653
+ index1.hset("index1:lonestar", mapping={"name": "lonestar"})
+ index2.hset("index2:yogurt", mapping={"name": "yogurt"})
+
657
res = ftindex1.search("*").docs[0]
658
assert "index1:lonestar" == res.id
659
0 commit comments