[jira] [Commented] (ATLAS-2118) Basic search - Contains clause issues
[ https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16166867#comment-16166867 ] Apoorv Naik commented on ATLAS-2118: This should be extended for suffix regex matches too. And LIKE operator should match the provided value as is (user will most likely enter a regex for LIKE) > Basic search - Contains clause issues > - > > Key: ATLAS-2118 > URL: https://issues.apache.org/jira/browse/ATLAS-2118 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating, 0.9-incubating, 0.8.1-incubating >Reporter: Apoorv Naik >Assignee: Apoorv Naik > Fix For: 0.8-incubating, 0.9-incubating, 0.8.1-incubating > > Attachments: > 0001-ATLAS-2118-Issues-with-contains-in-Basic-search.patch > > > If the contains clause attribute value contains any of the special regex > chars like > "+", "|", "(", "{", "[", "*", "?", "$", "/", "^" > then the graph query fails with Invalid pattern exception > Solution: Escape all occurrences of the special characters -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ATLAS-2118) Basic search - Contains clause issues
[ https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16157230#comment-16157230 ] Apoorv Naik commented on ATLAS-2118: Surprisingly the right hand counterparts were working fine with the index, I think the regex sees the left hand versions and then starts expecting a right hand one for the the same and errors out. I'll run some more tests to make sure that it works as intended. > Basic search - Contains clause issues > - > > Key: ATLAS-2118 > URL: https://issues.apache.org/jira/browse/ATLAS-2118 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating, 0.9-incubating, 0.8.1-incubating >Reporter: Apoorv Naik >Assignee: Apoorv Naik > Fix For: 0.8-incubating, 0.9-incubating, 0.8.1-incubating > > Attachments: > 0001-ATLAS-2118-Issues-with-contains-in-Basic-search.patch > > > If the contains clause attribute value contains any of the special regex > chars like > "+", "|", "(", "{", "[", "*", "?", "$", "/", "^" > then the graph query fails with Invalid pattern exception > Solution: Escape all occurrences of the special characters -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (ATLAS-2118) Basic search - Contains clause issues
[ https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16156952#comment-16156952 ] Graham Wallis commented on ATLAS-2118: -- Do you also need the right-hand versions of the various bracket/parenthesis characters? (i.e. ')', '}' and ']') > Basic search - Contains clause issues > - > > Key: ATLAS-2118 > URL: https://issues.apache.org/jira/browse/ATLAS-2118 > Project: Atlas > Issue Type: Bug >Affects Versions: 0.8-incubating, 0.9-incubating, 0.8.1-incubating >Reporter: Apoorv Naik >Assignee: Apoorv Naik > Fix For: 0.8-incubating, 0.9-incubating, 0.8.1-incubating > > Attachments: > 0001-ATLAS-2118-Issues-with-contains-in-Basic-search.patch > > > If the contains clause attribute value contains any of the special regex > chars like > "+", "|", "(", "{", "[", "*", "?", "$", "/", "^" > then the graph query fails with Invalid pattern exception > Solution: Escape all occurrences of the special characters -- This message was sent by Atlassian JIRA (v6.4.14#64029)