[ 
https://issues.apache.org/jira/browse/ATLAS-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17224521#comment-17224521
 ] 

Nikhil Bonte commented on ATLAS-3816:
-------------------------------------

committed to branch-0.8 - 63e3d5c9e5e74f1110d80c7bcfce970725504888

[https://github.com/apache/atlas/commit/63e3d5c9e5e74f1110d80c7bcfce970725504888]

 

> Backport: Basic search issue with IndexSerializer
> -------------------------------------------------
>
>                 Key: ATLAS-3816
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3816
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.8.4
>            Reporter: Nikhil Bonte
>            Assignee: Nikhil Bonte
>            Priority: Major
>             Fix For: 0.8.4
>
>         Attachments: 
> ATLAS-3816-Backport-Basic-search-issue-with-IndexSer-v2.patch
>
>
> *Background:*
> Atlas instance with property 
> _"atlas.use.index.query.to.find.entity.by.unique.attributes=true"_
> Direct index query which has pattern *"v."* throws exception, e.g.
>  
> v."Referenceable.qualifiedName":"atscale_agg_in{color:#ff0000}v.{color}as_agg_2cfb287d_dal_fixed_inco@edldev"
>  
> This will throw 
> {code:java}
> java.lang.IllegalArgumentException: Found reference to non-existant property 
> key in query at position...{code}
>  
> *Solution:*
> Backporting  ATLAS-2371.
> It is resolved with janusgraph, for titan implementation backporting required.
> Query will be :  
> *$v$*"Referenceable.qualifiedName":"atscale_agg_in{color:#ff0000}v.{color}as_agg_2cfb287d_dal_fixed_inco@edldev"
>  
> Default value for index search prefix is _"$v$"_
> Can be changed using the property _"atlas.graph.index.search.vertex.prefix"_
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to