[infinispan-issues] [JBoss JIRA] (ISPN-5923) Wrong results when applying the <= operator to a string attribute having a null token defined
Adrian Nistor (JIRA)
issues at jboss.org
Thu Nov 5 09:11:00 EST 2015
Adrian Nistor created ISPN-5923:
-----------------------------------
Summary: 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.1.0.Alpha2, 8.0.1.Final
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