incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron McCurry (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BLUR-343) Allow wildcards and regex on fields in query
Date Thu, 17 Jul 2014 15:11:04 GMT
Aaron McCurry created BLUR-343:
----------------------------------

             Summary: Allow wildcards and regex on fields in query
                 Key: BLUR-343
                 URL: https://issues.apache.org/jira/browse/BLUR-343
             Project: Apache Blur
          Issue Type: New Feature
          Components: Blur
    Affects Versions: 0.2.4
            Reporter: Aaron McCurry
             Fix For: 0.2.4


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

{noformat}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{noformat}

h4. The following queries would expand to
h5. Basic Column
h6. User provided
{noformat}+fam1.col?:1234 +fam1.col3:5678{noformat}
h6. Expanded to
{noformat}+<fam1.col1:1234 fam1.col2:1234 fam1.col3:1234> +<fam1.col3:5678>{noformat}
h5. Type aware
h6. User provided
{noformat}+fam1.col?:abc +fam1.col3:5678{noformat}
h6. Expanded to
{noformat}+<fam1.col2:abc> +<fam1.col3:5678>{noformat}
h5. Basic Family
h6. User provided
{noformat}+fam?.col2:abc +fam1.col3:5678{noformat}
h6. Expanded to
{noformat}+(<fam1.col2:abc> <fam2.col2:abc>) +<fam1.col3:5678>{noformat}
h5. Expand Everything
h6. User provided
{noformat}+*.*:1234 +fam1.col3:5678{noformat}
h6. Expanded to
{noformat}+(<fam1.col1:1234 fam1.col2:1234 fam1.col3:1234> <fam2.col1:1234 fam2.col2:1234
fam2.col3:1234>) +<fam1.col3:5678>{noformat}











--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message