summaryrefslogtreecommitdiff
path: root/modules/aggs-matrix-stats/src/main/java/org/elasticsearch/search
AgeCommit message (Collapse)Author
2017-07-03Remove QueryParseContext (#25486)Christoph Büscher
QueryParseContext is currently only used as a wrapper for an XContentParser, so this change removes it entirely and changes the appropriate APIs that use it so far to only accept a parser instead.
2017-06-15Use SPI in High Level Rest Client to load XContent parsers (#25098)Tanguy Leroux
This commit adds a NamedXContentProvider interface that can be implemented by plugins or modules using Java's SPI feature in order to provide additional NamedXContent parsers to external applications like the Java High Level Rest Client.
2017-05-30Add doc_count to ParsedMatrixStats (#24952)Tanguy Leroux
This commit adds support in ParsedMatrixStats for parsing the doc_count field. Related to #24776
2017-05-30Add document count to Matrix Stats aggregation response (#24776)Tanguy Leroux
This commit adds a `doc_count` field to the response body of Matrix Stats aggregation. It exposes the number of documents involved in the computation of statistics, a value that can already be retrieved using the method MatrixStats.getDocCount() in the Java API.
2017-05-23Added unit tests for MatrixStatsAggregatorMartijn van Groningen
2017-05-19Add parsing method for Matrix Stats (#24746)Tanguy Leroux
Related to #23331
2017-05-10Added unit tests for InternalMatrixStats.Martijn van Groningen
Also moved InternalAggregationTestCase to test-framework module in order to make use of it from other modules than core. Relates to #22278
2017-04-18Upgrade to a Lucene 7 snapshot (#24089)Adrien Grand
We want to upgrade to Lucene 7 ahead of time in order to be able to check whether it causes any trouble to Elasticsearch before Lucene 7.0 gets released. From a user perspective, the main benefit of this upgrade is the enhanced support for sparse fields, whose resource consumption is now function of the number of docs that have a value rather than the total number of docs in the index. Some notes about the change: - it includes the deprecation of the `disable_coord` parameter of the `bool` and `common_terms` queries: Lucene has removed support for coord factors - it includes the deprecation of the `index.similarity.base` expert setting, since it was only useful to configure coords and query norms, which have both been removed - two tests have been marked with `@AwaitsFix` because of #23966, which we intend to address after the merge
2017-02-23Remove abstract InternalMetricsAggregation class (#23326)Christoph Büscher
This class doesn't seem to do much other than to group together certain types of aggregations.
2017-02-03Upgrade checkstyle to version 7.5Jason Tedor
This commit upgrades the checkstyle configuration from version 5.9 to version 7.5, the latest version as of today. The main enhancement obtained via this upgrade is better detection of redundant modifiers. Relates #22960
2017-01-10Remove InternalAggregation.Type (#22511)Nik Everett
It is no longer needed. It used to contain a lot of strings used by serialization but those have since been removed. Now it is just another thing to pass around that we don't really need.
2017-01-05remove unused ParseFieldMatcher imports/argumentsjavanna
2016-12-30Remove some more usages of ParseFieldMatcher in favour of using ParseField ↵javanna
directly Relates to #19552 Relates to #22130
2016-12-30Remove some usages of ParseFieldMatcher in favour of using ParseField directlyjavanna
Relates to #19552 Relates to #22130
2016-12-14Fix `missing` on aggs on `boolean` fields. (#22135)Adrien Grand
The creation of the `ValuesSource` used to pass `DateTimeZone.UTC` as a time zone all the time in case of empty fields in spite of the fact that all doc value formats but the date one reject this parameter. This commit centralizes the creation of the `ValuesSource` and adds unit tests to it. Closes #22009
2016-12-13Remove `AggregationContext`. (#22124)Adrien Grand
This class is just a wrapper around `SearchContext`, so let's use `SearchContext` directly. The change is mechanical, except the `ValuesSourceConfig` class, where I moved the logic to get a `ValuesSource` given a config.
2016-11-10Clean up of Script.Jack Conradson
Closes #21321
2016-10-12Remove empty javadoc (#20871)Tanguy Leroux
This commit removes as many as empty javadocs comments my regexp has found
2016-08-16Switch aggregation registration for push to pullNik Everett
Adds `getAggregations` to `SearchPlugin` which can be used to register aggregations. Fixup MockNode which wasn't createing MockBigArrays.
2016-08-01Serialize doc counts in Matrix-Stats moduleNicholas Knize
This fixes a bug in the RunningStats class for the matrix stats aggregation module. doc counts were not being searlized which means they were only computed the first time the aggregation was computed. This was causing incorrect results when the aggregation was pulled from cache.
2016-07-20Remove AggregationStreams and friendsNik Everett
* Remove outdated aggregation registration method * Remove AggregationStreams * Adds StreamInput#readNamedWriteableList and StreamOutput#writeNamedWriteableList convenience methods. We strive to make the reading and writing from the streams terse so they are easier to scan visually. * Remove PipelineAggregatorStreams * Remove stream info from InternalAggreation.Type * Remove InternalAggregation#type * Remove Streamable from PipelineAggregator * Remove Streamable from MultiBucketsAggregation.Bucket
2016-07-13Migrate matrix_stats to NamedWriteableNik Everett
This is the last consumer of the old style register method so I removed the method.
2016-07-04Enable Checkstyle RedundantModifierTanguy Leroux
2016-07-01Fix order of modifiersTanguy Leroux
2016-06-15Plugins: Remove name() and description() from apiRyan Ernst
In 2.0 we added plugin descriptors which require defining a name and description for the plugin. However, we still have name() and description() which must be overriden from the Plugin class. This still exists for classpath plugins. But classpath plugins are mainly for tests, and even then, referring to classpath plugins with their class is a better idea. This change removes name() and description(), replacing the name for classpath plugins with the full class name.
2016-06-01remove unrecognized javadoc tag from matrix aggregation moduleNicholas Knize
2016-06-01set ValuesSourceConfig fields as privateNicholas Knize
2016-06-01Adding MultiValuesSource support classes and documentation to matrix stats ↵Nicholas Knize
agg module
2016-06-01New Matrix Stats Aggregation moduleNicholas Knize
This commit adds a new aggs-matrix-stats module. The module presents a new class of aggregations called Matrix Aggregations. Matrix aggregations work on multiple fields and produce a matrix as output. The first matrix aggregation provided by the module is matrix_stats aggregation. This aggregation computes the following statistics over a set of fields: * Covariance * Correlation For completeness (and interpretation purposes) the following per-field statistics are also provided: * sample count * population mean * population variance * population skewness * population kurtosis