Jackrabbit Oak
  1. Jackrabbit Oak
  2. OAK-882

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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
        Alex Parvulescu added a comment -

        Bulk close for the 0.9 release

        Show
        Alex Parvulescu added a comment - Bulk close for the 0.9 release
        Hide
        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
        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
        Alex Parvulescu added a comment - - edited

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

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development