Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Jun 10, 2020

This moves the code to look up significance heuristics information like
background frequency and superset size out of
SignificantTermsAggregatorFactory and into its own home so that it is
easier to pass around. This will:

  1. Make us feel better about ourselves for not passing around the
    factory, which is really supposed to be a throw away thing.
  2. Abstract the significance lookup logic so we can reuse it for the
    significant_text aggregation.
  3. Make if very simple to cache the background frequencies which should
    speed up when the agg is a sub-agg. We had done this for numerics
    but not string-shaped significant terms.

This moves the code to look up significance heuristics information like
background frequency and superset size out of
`SignificantTermsAggregatorFactory` and into its own home so that it is
easier to pass around. This will:
1. Make us feel better about ourselves for not passing around the
   factory, which is really *supposed* to be a throw away thing.
2. Abstract the significance lookup logic so we can reuse it for the
   `significant_text` aggregation.
3. Make if very simple to cache the background frequencies which should
   speed up when the agg is a sub-agg. We had done this for numerics
   but not string-shaped significant terms.
@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

run elasticsearch-ci/packaging-sample-matrix-windows

@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

elasticmachine, update branch

@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

elasticmachine, update branch

Fine. I'll do it myself.

@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

@elasticsearchmachine run elasticsearch-ci/packaging-sample-matrix-windows

@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

run elasticsearch-ci/packaging-sample-matrix-windows

@nik9000
Copy link
Member Author

nik9000 commented Jun 11, 2020

run elasticsearch-ci/packaging-sample-matrix-windows

@nik9000 nik9000 merged commit d6c8d94 into elastic:7.x Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant