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

Madhan Neethiraj commented on ATLAS-4884:
-----------------------------------------

[~zhangminguang]  - {{approximateCount}} is not a good name; I think 
{{estimatedCount}} would have been a better name. Per pic2, the result only 
contains 11 entries, so approximateCount shouldn't be 22. [~pinal] - can you 
please help here?

 

Support for business metadata in DSL - should be a straightforward enhancement. 
Can you please add couple of use cases?

> approximateCount confused
> -------------------------
>
>                 Key: ATLAS-4884
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4884
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.1.0
>            Reporter: MinGuang Zhang
>            Priority: Major
>         Attachments: image-2024-06-26-11-58-18-440.png, 
> image-2024-06-26-11-58-50-435.png
>
>
> atlas should return search result total exactly when user post some search 
> Conditions, like query string and filter.  Is using approximateCount as 
> total?  but approximateCount make me confused.
> a general scene: i want the total of search result for page i one request. 
> but now i should recall api to add limit (eg: 100000+) .
> the bad way: to reduce paramaters for get all and return hurge data for 
> calculate.
>  
> {*}Problem 1{*}:
> the response of post "/search/basic" api.
> see picture1 ,  i'm not add filter and set search text to find the hive_table 
> contains my custom attributes, the approximateCount is correct。 by the way, 
> is DSL support find __customAttribute?? how to do?
> picture 1:
> !image-2024-06-26-11-58-18-440.png!
>  
> see picture2,  i'm add filter and not set search text, the approximateCount 
> is incorrect。 i see the correct total is 11 one by one.
> picture2
> !image-2024-06-26-11-58-50-435.png!
> also i can't using the entities size for work when the limit paramters 
> changed. 
> so how to search use defined attribute for work? use filter or fullText 
> search? and is a bug? or need some total variable? 
>  
> {*}Problem 2{*}:
> Use-defined propertiies can help business . can support dsl search it ? any 
> discuss will help me.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to