Re: Start with/Ends with/contains Elastic search queries in atlas with IDX_QRY_OFFENDING_CHARS.

2019-04-22 Thread Nallapati, Sreenivasulu
Hi Apoorva, Thanks for the response. Here is the code that adds up double quotes https://github.com/apache/atlas/blob/release-1.1.0-rc2/repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java#L449 https://github.com/apache/atlas/blob/release-1.1.0-rc2/intg/src/main/java/org/apac

[jira] [Commented] (ATLAS-3133) Capture metadata for different executions of the same process in Atlas

2019-04-22 Thread Aadarsh Jajodia (JIRA)
[ https://issues.apache.org/jira/browse/ATLAS-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823535#comment-16823535 ] Aadarsh Jajodia commented on ATLAS-3133: Updated Latest Patch > Capture metadata

[jira] [Updated] (ATLAS-3133) Capture metadata for different executions of the same process in Atlas

2019-04-22 Thread Aadarsh Jajodia (JIRA)
[ https://issues.apache.org/jira/browse/ATLAS-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aadarsh Jajodia updated ATLAS-3133: --- Attachment: 0001-ATLAS-3133-Adding-support-for-Process-Executions-in-.patch > Capture metadat

Re: Review Request 70462: ATLAS-3133 : Adding support for Process Executions in Atlas

2019-04-22 Thread Sarath Subramanian
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70462/#review214796 --- webapp/src/main/java/org/apache/atlas/examples/QuickStartV2.java

Re: Start with/Ends with/contains Elastic search queries in atlas with IDX_QRY_OFFENDING_CHARS.

2019-04-22 Thread Apoorv Naik
https://github.com/apache/atlas/blob/master/repository/src/main/java/org/apache/atlas/discovery/SearchProcessor.java This is where the query is getting formed, I don't recall where the double quotes are getting injected around the attribute value. Let me dig into this more but someone more active

Re: Start with/Ends with/contains Elastic search queries in atlas with IDX_QRY_OFFENDING_CHARS.

2019-04-22 Thread Apoorv Naik
AFAIK, the current implementation of the search is tuned for Solr. For Elastic search, you'll have to make some adjustments. I think the query provider logic is pluggable and configurable, so if you create a ES specific provider and configure Atlas to use that, this problem can be fixed. On Mon, A

Re: Special characters attribute filter search behaviour

2019-04-22 Thread Apoorv Naik
Hi Sreenivasulu, The reasoning behind this code block is as follows. The solr schema for JanusGraph is configured with a StandardTokenizer and this cause the index to be created in a way that any index query with special characters gets tokenized into smaller chunks and gives back wrong results.

Start with/Ends with/contains Elastic search queries in atlas with IDX_QRY_OFFENDING_CHARS.

2019-04-22 Thread Nallapati, Sreenivasulu
Hello Atlas team, Have observed when if there is a ['@','/',' ','-'] char in the attribute filter query (ex: table-) in Start with/Ends with/contains queries, the Elastic search query becomes Start with => "table-"* Ends with => *"table-" Contains => *"table-"* The question is, the * should be

[jira] [Commented] (ATLAS-2966) Unable to build against Java 11

2019-04-22 Thread Nixon Rodrigues (JIRA)
[ https://issues.apache.org/jira/browse/ATLAS-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16822929#comment-16822929 ] Nixon Rodrigues commented on ATLAS-2966: [~nelsonc], Build was successful with ja