Skip to content

Commit

Permalink
mapper-exponential-histogram: add new plugin
Browse files Browse the repository at this point in the history
Add a new plugin which defines the exponential_histogram
mapper type. We will later add a new aggregation for
aggregating into exponential histograms.
  • Loading branch information
axw committed Dec 18, 2023
1 parent 7620902 commit 45a30f5
Show file tree
Hide file tree
Showing 5 changed files with 831 additions and 0 deletions.
24 changes: 24 additions & 0 deletions x-pack/plugin/mapper-exponential-histogram/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

apply plugin: 'elasticsearch.internal-es-plugin'

esplugin {
name 'exponential-histogram'
description 'Module for the exponential-histogram field type.'
classname 'org.elasticsearch.xpack.exponentialhistogram.ExponentialHistogramMapperPlugin'
extendedPlugins = ['x-pack-core', 'analytics']
}
base {
archivesName = 'x-pack-exponential-histogram'
}

dependencies {
compileOnly project(path: xpackModule('core'))
compileOnly project(path: xpackModule('analytics'))
//testImplementation project(path: ':x-pack:plugin:analytics')
}
Loading

0 comments on commit 45a30f5

Please sign in to comment.