[ 
https://issues.apache.org/jira/browse/JENA-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16447771#comment-16447771
 ] 

ASF GitHub Bot commented on JENA-1532:
--------------------------------------

GitHub user anujgandharv opened a pull request:

    https://github.com/apache/jena/pull/405

    JENA-1532 | fix for date based text query search

    Added fix for Date based searching in Jena Elasticsearch text Index.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/EaseTech/jena master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/405.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #405
    
----
commit c2a3bac147a786210b1ba4125a4be9edc66719c4
Author: Anuj Kumar <akumar1@...>
Date:   2018-04-23T08:42:13Z

    JENA-1532 | fix for date based text query search

----


> Jena Text Elastic Search Does not perform proper date comparison during query
> -----------------------------------------------------------------------------
>
>                 Key: JENA-1532
>                 URL: https://issues.apache.org/jira/browse/JENA-1532
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Text
>    Affects Versions: Jena 3.7.0
>            Reporter: Anuj Kumar
>            Priority: Major
>
> Jena Text Elastic Search is an implementation of the text query capability of 
> Jena to perform text based searching and Filtering of data. It uses [Query 
> String 
> Query|https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html]
>  capability of elastic search to perform searches.
> We found a bug in the implementation where searching on date values does not 
> work properly. For example, if we have a following text query:
> {code:java}
> SELECT ?s { ?s text:query ('2016-12-01T15:31:10-05:00') ;{code}
> then the implementation threw exception because there are unescaped ":" 
> (colon) in the value. Since ":" is a reserved character in the Query String 
> Query capability of Elastic search, we have to escape the character. 
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to