Skip to content

feat(search): geohash support in bleve - #3519

Draft
dschmidt wants to merge 1 commit into
feat/graph-search-queryfrom
feat/search-bleve-geohash-sibling
Draft

dschmidt wants to merge 1 commit into
feat/graph-search-queryfrom
feat/search-bleve-geohash-sibling

Conversation

@dschmidt

@dschmidt dschmidt commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Description

with this PR bleve maps a <name>_geohash field next to the geopoint sibling of every geopoint field and writes the geohash from the batch, analyzed into one depth-tagged term per precision. That is the index a geohash grid for bleve can be built on (#3272), OpenSearch has geohash_grid natively. Nothing queries it yet. bleve only, the shared document shape is untouched. Additive on v5, no reindex.

Related Issue

How Has This Been Tested

  • Encoder against the reference vector and as a prefix code
  • Geohash written next to the geopoint sibling of every geopoint override, nested too, none without lat/lon
  • Terms by precision through the batch: one document, one cell at precision 5

Types of changes

  • New feature (non-breaking change which adds functionality)

@codacy-production

codacy-production Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 25 complexity

Metric Results
Complexity 25

View in Codacy

🟢 Coverage 93.15% diff coverage · +0.04% coverage variation

Metric Results
Coverage variation ✅ +0.04% coverage variation (-1.00%)
Diff coverage ✅ 93.15% diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (8f27a91) 92568 23164 25.02%
Head commit (58c52b7) 92640 (+72) 23217 (+53) 25.06% (+0.04%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3519) 73 68 93.15%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from f8d85b4 to f017713 Compare September 11, 2026 14:30
@dschmidt
dschmidt changed the base branch from main to feat/graph-search-query September 11, 2026 14:33
@dschmidt dschmidt mentioned this pull request Sep 11, 2026
1 task done
@dschmidt
dschmidt added this pull request to stack #3520 September 11, 2026 14:34
@dschmidt
dschmidt marked this pull request as draft September 11, 2026 14:34
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch from 7f7ecbf to beae60b Compare September 12, 2026 15:34
@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from f017713 to 9b4883b Compare September 12, 2026 15:34
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch from beae60b to 654fba0 Compare September 12, 2026 15:38
@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from 9b4883b to 3d449df Compare September 12, 2026 15:38
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch from 654fba0 to b2296c5 Compare September 12, 2026 16:23
@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from 3d449df to f0f9fce Compare September 12, 2026 16:23
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch from b2296c5 to be68afb Compare September 12, 2026 16:34
@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from f0f9fce to 96dd924 Compare September 12, 2026 16:34
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch 15 times, most recently from 9a1e370 to ac75be9 Compare October 2, 2026 15:31
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch 10 times, most recently from a441468 to 2597514 Compare October 3, 2026 15:39
@dschmidt
dschmidt removed this pull request from stack #3520 October 5, 2026 06:48
@dschmidt
dschmidt force-pushed the feat/graph-search-query branch 3 times, most recently from f14a92d to 8f27a91 Compare October 6, 2026 08:52
bleve maps a <name>_geohash field next to every geopoint field and writes the geohash from the batch, analyzed into one depth-tagged term per precision. Groundwork for a geohash grid on bleve (#3272), nothing queries it yet. bleve only, additive on the v5 schema.
@dschmidt
dschmidt force-pushed the feat/search-bleve-geohash-sibling branch from 96dd924 to 58c52b7 Compare October 6, 2026 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant