Problem/Motivation

Add date range support so that we can query by dates easily. https://opensearch.org/docs/latest/opensearch/supported-field-types/range/

Steps to reproduce

N/A

Proposed resolution

Add a DateRange data type and a processor to format date ranges correctly (heavily based on the Solr solution).

Remaining tasks

Create a patch

User interface changes

New date range option in search api

API changes

N/A

Data model changes

date_range type is added to OpenSearch schema.

CommentFileSizeAuthor
#2 3316753_2.patch7.65 KBachap

Comments

achap created an issue. See original summary.

achap’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new7.65 KB
kim.pepper’s picture

Status: Needs review » Fixed

This looks great. Committed and pushed to 2.x. Thanks!

  • kim.pepper committed 860df95 on 2.x
    Issue #3316753 by achap: Add date range data type
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.