[
https://issues.apache.org/jira/browse/RANGER-5213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954423#comment-17954423
]
Ramesh Mani commented on RANGER-5213:
-------------------------------------
[~radhikak] Thanks for the contribution
Committed to Apache Master :
https://github.com/apache/ranger/commit/44e27a4fe2d5538189c5c2c2069403e0d5f106cd
> Add Support for isEnabled Filter and Full/Partial Text Search on Labels and
> Keywords in Dataset Search
> ------------------------------------------------------------------------------------------------------
>
> Key: RANGER-5213
> URL: https://issues.apache.org/jira/browse/RANGER-5213
> Project: Ranger
> Issue Type: Task
> Components: Ranger
> Reporter: Radhika Kundam
> Assignee: Radhika Kundam
> Priority: Major
>
> Enhance the dataset search functionality to support:
> * Filtering by the {{isEnabled}} flag.
> * Full and partial text search capabilities for *Labels* and *Keywords*
> using dedicated query parameters.
> *Current Behavior:*
> * The API currently supports *partial text search* only for *Labels* and
> {*}Keywords{*}.
> * Example: A search with '{{{}test'{}}} as the label matches datasets with
> labels like {{{}test1{}}}, {{{}unit-test{}}}, {{{}testing{}}}, etc.
> *New Functionality:*
> * *Full Text Search Support:*
> ** Exact match search for *Labels* and {*}Keywords{*}.
> ** Example: Searching with label '{{{}test'{}}} should return only datasets
> with label *exactly* equal to '{{{}test'{}}}.
> * *Query Parameter Mapping:*
> ** *Partial Search(Existing Behavior - Performs a case-insensitive substring
> search):*
> *** {{datasetLabel}}
> *** {{datasetKeyword}}
> ** *Full Search:*
> *** {{datasetLabelMatchType = full}}
> *** {{datasetKeywordMatchType = full}}
> When these flags are set to full, the corresponding datasetLabel or
> datasetKeyword values must match exactly(case-insensitive).
> Without the flags, partial match remains the default.
> * *{{isEnabled}} Filter:*
> ** A new query parameter to include/exclude datasets based on their enabled
> status.
> ** Example: {{isEnabled=true}} returns only enabled datasets.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)