Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5923

Wrong results when applying the <= operator to a string attribute having a null token defined

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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'] .

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: