Skip to content

Conversation

romanatarango
Copy link

Added tests for using a lookahead for the zkd index (see PR #14745 in arangodb). There is a new tests set: documentZKDTests and two new test functions:

  • zkdIndex for queries with filters (p.x > xMin) AND (p.x < xMax) and (p.y > yMin) AND (p.y < yMax)
  • zkdIndexExactValue for queries with filters (p.x == x) AND (p.y == y) where we find values for x and y beforehand just after filling the database with values such that there is a match in the database.

The following values for lookaheads are tested: 0, 2, 4, 8, 16, 32. To obtain a more visible difference between the query times, huge collections are added that contain 20 millions of documents. For consistency, the huge option is added also for other tests.

@romanatarango romanatarango self-assigned this Sep 10, 2021
@romanatarango romanatarango marked this pull request as ready for review November 25, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants