Hi Herman,

1. If you don¹t need to track deleted entities, you can disable
soft-deletes with config -
atlas.DeleteHandler.impl=org.apache.atlas.repository.graph.HardDeleteHandle
r. This will not store any deleted entities in db and hence deleted
entities don¹t show up on API/UI
2. If you want soft delete, but want to filter deleted entities, you can
use state filter in DSL query - hive_table where name = Œxx¹ and __state =
ŒACTIVE¹
3. On trunk, orderby query should be - hive_table orderby name. On 0.7,
orderby field should be qualified, so, hive_table orderby ŒAsset.name¹. We
need to update the documentation at apache website.
https://github.com/apache/incubator-atlas/blob/master/docs/src/site/twiki/S
earch.twiki contains the latest docs
4. We have a draft of the docs, need to update


Regards,
Shwetha






On 28/07/16, 7:31 PM, "Herman Yu" <[email protected]> wrote:

>Hi 
>
>ATLAS-725 highlights deleted entities shown in UI, Is there a way to
>filter out ³soft deleted² entities through DSL query? we are searching
>entities using qualifiedName and was expecting single record return.
>
>http://atlas.incubator.apache.org/Search.html
><http://atlas.incubator.apache.org/Search.html> does provides search
>syntax, but I found the syntax is hard to understand (may be just me),
>for example, ³hive_table orderby Œname¹² just doesn¹t work.  anybody has
>a clue on how to read/understand the search syntax?
>
>I found we spent a lot of time trying to figure out  how to call a
>RESTAPI or to run a DSL search, with Atlas is getting matured and more
>clients start using it, I think a good documentation (at least on REST
>API/Search syntax) will be greatly helpful. What do you think?
>
>Thanks
>Herman.
>

Reply via email to