Apache Blur
  1. Apache Blur
  2. BLUR-343

Allow wildcards and regex on fields in query

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.2.4
    • Fix Version/s: 0.2.4
    • Component/s: Blur
    • Labels:
      None

      Description

      This issue is to allow blur queries to contain wildcard and regex expressions for field matching. Given the example schema of:

      fam1.col1 is an int
      fam1.col2 is a string
      fam1.col3 is a long
      fam2.col1 is an int
      fam2.col2 is a string
      fam2.col3 is a long

      The following queries would expand to

      Basic Column
      User provided
      +fam1.col?:1234 +fam1.col3:5678
      Expanded to
      +<fam1.col1:1234 fam1.col2:1234 fam1.col3:1234> +<fam1.col3:5678>
      Type aware
      User provided
      +fam1.col?:abc +fam1.col3:5678
      Expanded to
      +<fam1.col2:abc> +<fam1.col3:5678>
      Basic Family
      User provided
      +fam?.col2:abc +fam1.col3:5678
      Expanded to
      +(<fam1.col2:abc> <fam2.col2:abc>) +<fam1.col3:5678>
      Expand Everything
      User provided
      +*.*:1234 +fam1.col3:5678
      Expanded to
      +(<fam1.col1:1234 fam1.col2:1234 fam1.col3:1234> <fam2.col1:1234 fam2.col2:1234 fam2.col3:1234>) +<fam1.col3:5678>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Aaron McCurry
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development