[infinispan-issues] [JBoss JIRA] (ISPN-5923) Wrong results when applying the <= operator to a string attribute having a null token defined

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu Nov 5 09:51:00 EST 2015


     [ https://issues.jboss.org/browse/ISPN-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

RH Bugzilla Integration updated ISPN-5923:
------------------------------------------
    Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1254053
        Bugzilla Update: Perform


> Wrong results when applying the <= operator to a string attribute having a null token defined
> ---------------------------------------------------------------------------------------------
>
>                 Key: ISPN-5923
>                 URL: https://issues.jboss.org/browse/ISPN-5923
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Embedded Querying
>    Affects Versions: 8.0.1.Final, 8.1.0.Alpha2
>            Reporter: Adrian Nistor
>            Assignee: Adrian Nistor
>             Fix For: 8.1.0.Beta1, 8.0.2.Final
>
>
> The query having("myField").lte("Something") gets translated to lucene as myField:['_null_' TO 'Something'] where _null_ is the defined null token for this field. This query returns wrong results or no results at all, depending on the value of the null token. The issue no longer appears if there is no null token defined; it will get properly translated to  myField:[* TO 'Something'] .



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list