Skip to content

Optimize indexing points with index and doc values set to true#120271

Merged
iverase merged 7 commits intoelastic:mainfrom
iverase:withDocValues
Jan 17, 2025
Merged

Optimize indexing points with index and doc values set to true#120271
iverase merged 7 commits intoelastic:mainfrom
iverase:withDocValues

Conversation

@iverase
Copy link
Contributor

@iverase iverase commented Jan 16, 2025

We are currently using two indexing fields, one to generate the index part and another to generate the doc values .On the other hand, in many other fields we are using just one field to do this job, which has proving to improve index performance.

Therefore let's introduce here a LatLonPoint and XYPoint that can add doc values so we can get the same benefit.

@iverase iverase added >enhancement :Analytics/Geo Indexing, search aggregations of geo points and shapes v9.0.0 v8.18.0 labels Jan 16, 2025
@iverase iverase requested a review from craigtaverner January 16, 2025 11:19
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jan 16, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @iverase, I've created a changelog YAML for you.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

Copy link
Contributor

@craigtaverner craigtaverner left a comment

Choose a reason for hiding this comment

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

LGTM. I wonder, would these new classes ever be migrated to Lucene?

@iverase
Copy link
Contributor Author

iverase commented Jan 17, 2025

I tried but it developed on a discussion about the geo API which led nowhere.

@iverase iverase added the auto-backport Automatically create backport pull requests when merged label Jan 17, 2025
@iverase iverase merged commit fb5d364 into elastic:main Jan 17, 2025
16 checks passed
@iverase iverase deleted the withDocValues branch January 17, 2025 15:13
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x
iverase added a commit to iverase/elasticsearch that referenced this pull request Jan 17, 2025
…ic#120271)

Introducing at LonPoint and XYPoint that can add doc values sto improve indexing perfromance.
elasticsearchmachine pushed a commit that referenced this pull request Jan 17, 2025
…) (#120396)

Introducing at LonPoint and XYPoint that can add doc values sto improve indexing perfromance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Geo Indexing, search aggregations of geo points and shapes auto-backport Automatically create backport pull requests when merged >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0 v9.0.0

3 participants