Skip to content

Add options GEO_CELL_GRID_LEVEL and GEO_CELL_GRID_SCHEME for qlever index - #333

Merged
hannahbast merged 3 commits into
mainfrom
geo-cell-grid-options
Sep 1, 2026
Merged

Add options GEO_CELL_GRID_LEVEL and GEO_CELL_GRID_SCHEME for qlever index#333
hannahbast merged 3 commits into
mainfrom
geo-cell-grid-options

Conversation

@hannahbast

@hannahbast hannahbast commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

This change adds two Qleverfile options in the [index] section, GEO_CELL_GRID_LEVEL and GEO_CELL_GRID_SCHEME, which are passed through to the index builder as --geo-cell-grid-level and --geo-cell-grid-scheme. With a level > 0, the index builder annotates the IDs of WKT literals with a grid cell, which enables block prefiltering for spatial joins. The scheme option selects the cell assignment (flat, flat-4-shifts, hierarchical, hierarchical-3-shifts).

NOTE: At the time of this merge, these options do not yet exist for qlever-index. The code will be added in a series of PRs derived from ad-freiburg/qlever#3310 over the next weeks.

This change passes the new `--geo-cell-grid-level` option of the index builder through from the Qleverfile, so that indices can be built with the geo cell grid for WKT literal IDs (spatial join prefilter).
This change passes the new `--geo-cell-grid-scheme` option of the index builder through from the Qleverfile (values `flat`, `flat-4-shifts`, `hierarchical`, `hierarchical-3-shifts`).
Copilot AI lite review requested due to automatic review settings August 30, 2026 01:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

The index tests mock `args`, so the two new options have to be set to
`None` explicitly, else they leak into every constructed command line.
The expected argument list and the formatting of `qleverfile.py` are
adjusted as well.
@hannahbast hannahbast changed the title Add Qleverfile options for the geo cell grid of the index builder Add options GEO_CELL_GRID_LEVEL and GEO_CELL_GRID_SCHEME for qlever index Sep 1, 2026
@hannahbast
hannahbast merged commit 5e27ac7 into main Sep 1, 2026
10 checks passed
@hannahbast
hannahbast deleted the geo-cell-grid-options branch September 1, 2026 03:26
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.

2 participants