

def _multi_segment_index(self):
    ix = self._create_index()
    w = writing.IndexWriter(ix)
    w.add_document(f1='A B C', f2='1 2 3', f3='X Y Z')
    w.add_document(f1='D E F', f2='4 5 6', f3='Q R S')
    w.commit()
    w = writing.IndexWriter(ix)
    w.add_document(f1='A E C', f2='1 4 6', f3='X Q S')
    w.add_document(f1='A A A', f2='2 3 5', f3='Y R Z')
    w.commit(writing.NO_MERGE)
    w = writing.IndexWriter(ix)
    w.add_document(f1='A B', f2='1 2', f3='X Y')
    w.commit(writing.NO_MERGE)
    return w

dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/tests/test_reading.py TestReading._multi_segment_index/VarMisuse@155/262 `ix`->`w`