Back to index

plone3  3.1.7
Variables
ExtendedPathIndex.ptests.testQuery Namespace Reference

Variables

int NUM_ITER = 500
string epi_path = '/'
tuple storage = FileStorage(file_name='EPI.fs', create=False, read_only=True)
tuple db = DB(storage)
tuple conn = db.open()
tuple root = conn.root()
list plone = root['plone']
 index = plone.index
tuple start = time.time()
tuple res = index._apply_index({"path": {'query': '/plone', "depth": 2}})
tuple end = time.time()
list res1 = res[0]
list res2 = res[0]

Variable Documentation

Definition at line 25 of file testQuery.py.

Definition at line 22 of file testQuery.py.

Definition at line 34 of file testQuery.py.

Definition at line 15 of file testQuery.py.

Definition at line 29 of file testQuery.py.

Definition at line 13 of file testQuery.py.

Definition at line 28 of file testQuery.py.

tuple ExtendedPathIndex.ptests.testQuery.res = index._apply_index({"path": {'query': '/plone', "depth": 2}})

Definition at line 33 of file testQuery.py.

Definition at line 37 of file testQuery.py.

Definition at line 46 of file testQuery.py.

Definition at line 26 of file testQuery.py.

Definition at line 31 of file testQuery.py.

tuple ExtendedPathIndex.ptests.testQuery.storage = FileStorage(file_name='EPI.fs', create=False, read_only=True)

Definition at line 21 of file testQuery.py.