[ https://issues.apache.org/jira/browse/ATLAS-4884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17862981#comment-17862981 ]
MinGuang Zhang commented on ATLAS-4884: --------------------------------------- [~madhan] - In my understanding, atlas works as a type system. User can use atlas to build their system as metadata store, define new type and entity convenient for their their business system Bill Management、Staff Management ... and finally metadata stored in atlas. For those use case, user will be more concern their user defined properties. like bill_total, paid_tax, staff_working_years ... So an convenient and brief user defined properties search in DSL will be very useful. Maybe like this or some tips: {code:java} >From Bill where __bill_total > 20 and __paid_tax < 3 {code} > 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)