[ https://issues.apache.org/jira/browse/ATLAS-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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)