Uploaded image for project: 'Apache Blur'
  1. Apache Blur
  2. BLUR-343

Allow wildcards and regex on fields in query

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Blur
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            amccurry Aaron McCurry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: