Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-882

Query: support conditions of type "property in(value1, value2)"

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9
    • Component/s: query
    • Labels:
      None

      Description

      Currently one has to write "property = value1 or property = value2".
      This is quite verbose. Instead, it would be nice of one could write:
      "property in(value1, value2)".

      In addition to the new syntax, the query engine should be able to use
      and index on the property (even if the "or" syntax is used).

        Activity

        Hide
        tmueller Thomas Mueller added a comment -

        Should be fixed in revision 1498379 (including support for "or" syntax and PropertyIndex implementation).

        Show
        tmueller Thomas Mueller added a comment - Should be fixed in revision 1498379 (including support for "or" syntax and PropertyIndex implementation).
        Hide
        stillalex Alex Deparvu added a comment - - edited

        I fixed a typo in the variable name with revision http://svn.apache.org/viewvc?view=revision&revision=r1517774

        Show
        stillalex Alex Deparvu added a comment - - edited I fixed a typo in the variable name with revision http://svn.apache.org/viewvc?view=revision&revision=r1517774
        Hide
        tmueller Thomas Mueller added a comment -

        [~alex.parvulescu] thanks for fixing the bug! Apparently there are not enough test cases, I will try to add more.

        Show
        tmueller Thomas Mueller added a comment - [~alex.parvulescu] thanks for fixing the bug! Apparently there are not enough test cases, I will try to add more.
        Hide
        stillalex Alex Deparvu added a comment -

        Bulk close for the 0.9 release

        Show
        stillalex Alex Deparvu added a comment - Bulk close for the 0.9 release

          People

          • Assignee:
            tmueller Thomas Mueller
            Reporter:
            tmueller Thomas Mueller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development