]
RH Bugzilla Integration commented on ISPN-5923:
-----------------------------------------------
Vojtech Juranek <vjuranek(a)redhat.com> changed the Status of [bug
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.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'] .