Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(opensearch): add profile_id and organization_id to /search APIs #5706

Closed
tsdk02 opened this issue Aug 27, 2024 · 0 comments · Fixed by #5705
Closed

feat(opensearch): add profile_id and organization_id to /search APIs #5706

tsdk02 opened this issue Aug 27, 2024 · 0 comments · Fixed by #5705
Assignees
Labels
A-Analytics C-feature Category: Feature request or enhancement

Comments

@tsdk02
Copy link
Contributor

tsdk02 commented Aug 27, 2024

Global Search is currently being done through the merchant_id authentication.
We have to enhance the global search to search through new hierarchical structure of OrgLevel, MerchantLevel and ProfileLevel.
Queries will now be of the following form:

    OrgLevel {
        org_id: id_type::OrganizationId,
    },
    MerchantLevel {
        org_id: id_type::OrganizationId,
        merchant_ids: Vec<id_type::MerchantId>,
    },
    ProfileLevel {
        org_id: id_type::OrganizationId,
        merchant_id: id_type::MerchantId,
        profile_ids: Vec<id_type::ProfileId>,
    }
@tsdk02 tsdk02 added A-Analytics C-feature Category: Feature request or enhancement labels Aug 27, 2024
@tsdk02 tsdk02 self-assigned this Aug 27, 2024
@tsdk02 tsdk02 linked a pull request Aug 27, 2024 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Analytics C-feature Category: Feature request or enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant