You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Ying Zheng (JIRA)" <ji...@apache.org> on 2015/05/22 17:52:18 UTC

[jira] [Comment Edited] (FALCON-1095) Support free-text search for entities

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

Ying Zheng edited comment on FALCON-1095 at 5/22/15 3:51 PM:
-------------------------------------------------------------

[~sriksun] Thank you for sharing your valuable thoughts! Per our discussion offline, we extended the previous patch to 1) Support comma-separated entity types: e.g. api/entities/list/feed,process. The user can specify any combination of entity types (e.g. feed+process, cluster+feed, etc.) in this way. 2) Make entity type optional in the REST api, i.e. api/entities/list will return the entities of all types. https://reviews.apache.org/r/32946/


was (Author: yzheng-hortonworks):
[~sriksun] Thank you for sharing your valuable thoughts! Per our discussion offline, we extended the previous patch to 1) Support comma-separated entity types: e.g. api/entities/list/feed,process. The user can specify any combination of entity types (e.g. feed+process, cluster+feed, etc.) in this way. 2) Make entity type optional in the REST api, i.e. api/entities/list will return the entities of all types.

> Support free-text search for entities
> -------------------------------------
>
>                 Key: FALCON-1095
>                 URL: https://issues.apache.org/jira/browse/FALCON-1095
>             Project: Falcon
>          Issue Type: New Feature
>    Affects Versions: 0.6
>            Reporter: Ying Zheng
>            Assignee: Ying Zheng
>             Fix For: 0.7
>
>
> When users have hundreds or thousands of entities to manage, they may not remember the exact name/tag of the entity. We would like to provide a more convenient way for the user to search an entity by providing keywords in name and tags. We also plan to provide a search UI, similar to Visual Search, to allow the user to enter keywords in a search box and display the filtered results. The user can click on the entity to view details and search its instances as well.
> To support free-text search, we plan to extend the LIST API:
> GET api/entities/list/:entity-type
> Parameters changed/added:
>     1) :entity-type  Valid options are cluster, feed, process and schedulable. Here "schedulable" includes feeds and processes.
>     2) nameseq     Subsequence of entity name. Not case sensitive. Example: "Sample1" is a subsequence of entity name "SampleFeed1". Note that we rename "pattern" parameter to "nameseq" to make it more intuitive to the user, but the functionality is already there in Falcon-914 .
>     3) tagkeys        Tag keywords, separated by comma. Not case sensitive. The returning entities must have tags that match all the tag keywords.
> Results
>     Return the total number of entity results and a list of entities.
> e.g. falcon entity -list -nameseq housetexas -tagkeys estate
> This should return the entity with name "houseSellTexas" and tags "category=realestate".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)