[ https://issues.apache.org/jira/browse/RANGER-5213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radhika Kundam updated RANGER-5213: ----------------------------------- Description: 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:* *** {{isFullLabelMatch = true}} *** {{isFullKeywordMatch = true}} When these flags are set to true, 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. was: 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:* *** {{datasetLabelPartial}} *** {{datasetKeywordPartial}} ** *Full Search:* *** {{datasetLabel}} *** {{datasetKeyword}} * *{{isEnabled}} Filter:* ** A new query parameter to include/exclude datasets based on their enabled status. ** Example: {{isEnabled=true}} returns only enabled datasets. > 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:* > *** {{isFullLabelMatch = true}} > *** {{isFullKeywordMatch = true}} > When these flags are set to true, 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)