mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
943a016bb2
This adds a pipeline aggregation that calculates the cumulative cardinality of a field. It does this by iteratively merging in the HLL sketch from consecutive buckets and emitting the cardinality up to that point. This is useful for things like finding the total "new" users that have visited a website (as opposed to "repeat" visitors). This is a Basic+ aggregation and adds a new Data Science plugin to house it and future advanced analytics/data science aggregations.
27 lines
821 B
Groovy
27 lines
821 B
Groovy
evaluationDependsOn(xpackModule('core'))
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
esplugin {
|
|
name 'x-pack-data-science'
|
|
description 'Elasticsearch Expanded Pack Plugin - Data Science'
|
|
classname 'org.elasticsearch.xpack.datascience.DataSciencePlugin'
|
|
extendedPlugins = ['x-pack-core']
|
|
}
|
|
archivesBaseName = 'x-pack-data-science'
|
|
|
|
compileJava.options.compilerArgs << "-Xlint:-rawtypes"
|
|
compileTestJava.options.compilerArgs << "-Xlint:-rawtypes"
|
|
|
|
|
|
dependencies {
|
|
compileOnly project(":server")
|
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
if (isEclipse) {
|
|
testCompile project(path: xpackModule('core-tests'), configuration: 'testArtifacts')
|
|
}
|
|
}
|
|
|
|
integTest.enabled = false
|