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

    XMLWordPrintable

Details

    Description

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

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor (Inactive)
              anistor Adrian Nistor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: