[infinispan-issues] [JBoss JIRA] (ISPN-5923) Wrong results when applying the <= operator to a string attribute having a null token defined
Tristan Tarrant (JIRA)
issues at jboss.org
Wed Nov 25 02:31:00 EST 2015
[ https://issues.jboss.org/browse/ISPN-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant updated ISPN-5923:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 8.1.0.Final
Resolution: Done
> 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.Beta2, 8.1.0.Final, 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