Home / Companies / Elastic / Blog / Post Details
Content Deep Dive

Numeric and Date Ranges...Just Another Brick in the Wall

Blog post from Elastic

Post Details
Company
Date Published
Author
Nick Knize
Word Count
1,059
Company Posts That Month
13
Language
-
Hacker News Points
-
Post removed?
No
Summary

Elasticsearch 5.2 introduces new Numeric and Date Range field types, enhancing its capabilities to index and search over continuous ranges, which was previously a challenge with discrete numeric and date fields. These new fields, including integer_range, float_range, long_range, double_range, and date_range, are implemented using advancements in Apache Lucene, specifically the Bkd-Tree Data Structure, which allows for efficient indexing and searching of discrete numeric points. The range queries employ a domain-specific language (DSL) with optional relational parameters like INTERSECTS, CONTAINS, and WITHIN, enabling more complex and flexible search queries. This development is particularly beneficial for diverse use cases, such as scheduling conflicts, media broadcasting timelines, and medical diagnostics, by providing a streamlined method for handling continuous data ranges. The update is a significant step towards supporting multi-dimensional indexing and searching, with potential future enhancements aimed at expanding their capabilities to handle up to 8-dimensional ranges.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.