You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/27 14:13:00 UTC

[jira] [Commented] (ATLAS-3782) Support NOT_CONTAINS operator in basic search with search parameters

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

ASF subversion and git services commented on ATLAS-3782:
--------------------------------------------------------

Commit 897c2fc19f342d6fb8832734ac698e442bf85b58 in atlas's branch refs/heads/branch-2.0 from Pinal Shah
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=897c2fc ]

ATLAS-3782 : Support NOT_CONTAINS operator in basic search

Signed-off-by: nixonrodrigues <ni...@apache.org>
(cherry picked from commit 9a067d38e27fc2255647133373b952a6a64ed1a4)


> Support NOT_CONTAINS operator in basic search with search parameters
> --------------------------------------------------------------------
>
>                 Key: ATLAS-3782
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3782
>             Project: Atlas
>          Issue Type: New Feature
>          Components:  atlas-core
>    Affects Versions: 2.0.0
>            Reporter: Andreas Danckert
>            Assignee: Pinal
>            Priority: Minor
>              Labels: BasicSearch
>             Fix For: 3.0.0
>
>
> The operator 'SearchParameters.Operator.NOT_CONTAINS' is defined and implemented in SearchProcessors. It would allow a search of entities that do not contain in given string in a specified attribute (eg exclude entities from search that contain 'temp' in the qualified name). 
> However, this operator is currently ignored when used in REST calls and thus not effective. Presumably the reason for this behaviour is that the operator is not listed as case value in any of the switch statements on the search operator in SearchProcessor.java.
>  



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