Michael Russo created USERGRID-1184:
---------------------------------------
Summary: Provide functionality for date range queries ( use date
type in Elasticsearch)
Key: USERGRID-1184
URL: https://issues.apache.org/jira/browse/USERGRID-1184
Project: Usergrid
Issue Type: Story
Reporter: Michael Russo
Assignee: Michael Russo
This likely requires an update to the current index mapping and to the way
Usergrid builds the index documents.
When building the index document for Elasticsearch, try to infer that a
property value is a Date and use the date type for Elasticsearch:
https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html.
org/apache/usergrid/persistence/index/usergrid-mappings.json
org.apache.usergrid.persistence.index.impl.EntityMappingParser
Providing this functionality will allow range searches on dates. e.g.
select * where myDate < '2017-07-02T23:17:19.000Z'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)