Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-3435

Paging controls ignored for certain query filters.

    Details

      Description

      Forum post

      Paging controls are completely ignored for certain filters:

      (&
       (isMemberOf=<valid and existing DN of a groupOfUniqueNames entry>)
       (|
        (!(isMemberOf=<another valid and existing DN of a groupOfUniqueNames entry>))
        (isMemberOf=<and another>)))
      

      However, the same query works fine and obeys paging if we convert it to use only OR ( | ) operators(albeit very slow):

      (!
        (|
          (!(isMemberOf=<valid and existing DN of a groupOfUniqueNames entry>))
          (!
            (|
              (!(isMemberOf=<another valid and existing DN of a groupOfUniqueNames entry>))
              (isMemberOf=<and another>)))))
      

      Converting the query to use only AND ( & ) operators fails to obey paging also, but is fast:

      (&
          (isMemberOf=<valid and existing DN of a groupOfUniqueNames entry>)
          (!
              (&
                  (isMemberOf=<another valid and existing DN of a groupOfUniqueNames entry>)
                  (!(isMemberOf=<and another>)))))
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              openxx Roberto Fez [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: