falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ying Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FALCON-1095) Support free-text search for entities
Date Thu, 26 Mar 2015 20:39:53 GMT

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

Ying Zheng edited comment on FALCON-1095 at 3/26/15 8:39 PM:
-------------------------------------------------------------

Thanks for asking about this, Scott.

This "subsequence" model is not new for falcon. It was already done by [~ajayyadava] in Falcon-914
as "pattern" parameter. We just rename it to "nameseq", but the functionality is already in
Apache falcon code base. When I talked with Ajay, he also likes this new naming, as it distinguishes
name filters from tags. I updated this in the description as well.

Regarding your question on the use of "subsequence" search model, one example is IntelliJ.
They provide subsequence search for classes, which makes it a lot easier to search for the
exact class name in a big collaborative project. We expect the user to type useful hints or
complete words in the name to take the full advantage of this search functionality. We also
think it is a reasonable assumption that the user know certain order of keywords in the name.
Any good suggestions from you would be appreciated.


was (Author: yzheng-hortonworks):
Thanks for asking about this, Scott.

This "subsequence" model is not new for falcon. It was already done by Ajay in Falcon-914
as "pattern" parameter. We just rename it to "nameseq", but the functionality is already in
Apache falcon code base. When I talked with Ajay, he also likes this new naming, as it distinguishes
name filters from tags. I updated this in the description as well.

Regarding your question on the use of "subsequence" search model, one example is IntelliJ.
They provide subsequence search for classes, which makes it a lot easier to search for the
exact class name in a big collaborative project. We expect the user to type useful hints or
complete words in the name to take the full advantage of this search functionality. We also
think it is a reasonable assumption that the user know certain order of keywords in the name.
Any good suggestions from you would be appreciated.

> 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 all. Here "all" represents
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) tagkey         Tag keywords, separated by comma. Not case sensitive.
> Results
>     Return the total number of entity results and a list of entities.
> e.g. falcon entity -list -nameseq housetexas -tagkey estate
> This should return the entity with name "houseSellTexas" and tags "category=realestate".



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

Mime
View raw message