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] [Updated] (BLUR-343) Allow wildcards and regex on fields in query
Date Sun, 31 May 2015 18:26:17 GMT

     [ https://issues.apache.org/jira/browse/BLUR-343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron McCurry updated BLUR-343:
-------------------------------
    Affects Version/s:     (was: 0.2.4)
        Fix Version/s:     (was: 0.2.4)

> 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
>            Reporter: Aaron McCurry
>
> 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.3.4#6332)

Mime
View raw message