You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Michael Russo (JIRA)" <ji...@apache.org> on 2015/12/17 03:54:46 UTC

[jira] [Updated] (USERGRID-1184) Provide functionality for date range queries ( use date type in Elasticsearch)

     [ https://issues.apache.org/jira/browse/USERGRID-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Russo updated USERGRID-1184:
------------------------------------
    Sprint: Blocker

> 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)