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/resolve stats #883

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Conversation

ciaranschutte
Copy link
Contributor

@ciaranschutte ciaranschutte commented Aug 14, 2024

  • resolve network aggregation from multiple single network aggs
  • Aggregations => NetworkAggregation
  • unit tests
  • not all properties covered, just the minimal buckets for now

@ciaranschutte ciaranschutte changed the base branch from develop to feature/federated_search August 14, 2024 01:05
@ciaranschutte ciaranschutte marked this pull request as ready for review August 14, 2024 13:30
@@ -1,2 +1,51 @@
import { SupportedAggregation, SUPPORTED_AGGREGATIONS } from '../common';
import { Aggregations, NetworkAggregation, NumericAggregations } from '../types';

// TODO: implement
export const resolveAggregations = (networkResults: void) => null;
Copy link

@demariadaniel demariadaniel Aug 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you get around to working on this function I'd update this name. I'd add something descriptive to distinguish it's purpose from resolveAggregation

@@ -0,0 +1,27 @@
import { resolveAggregation } from '..';
import { aggregation } from './fixture';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why fixture, isn't stubs the more common name for test data?

@ciaranschutte ciaranschutte merged commit 249608f into feature/federated_search Aug 14, 2024
0 of 2 checks passed
@ciaranschutte ciaranschutte deleted the feat/resolve_stats branch August 14, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants