mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
[Rename] refactor remaining of the o.e.search
package in server module. (#345)
Refactor the remaining classes in the `org.elasticsearch.search` package in the server module, - Rename `org.elasticserach.search.aggregations` to `org.opensearch.search.aggregations` - Rename instances of `org.elasticsearch.search` `org.opensearch.search` Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
parent
ac75d6aee2
commit
4e60df913f
@ -29,7 +29,7 @@ import org.opensearch.common.inject.Inject;
|
||||
import org.opensearch.common.io.stream.Writeable;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.internal.InternalSearchResponse;
|
||||
import org.opensearch.search.profile.SearchProfileShardResults;
|
||||
import org.opensearch.search.suggest.Suggest;
|
||||
|
@ -94,7 +94,7 @@ import org.opensearch.script.mustache.MultiSearchTemplateRequest;
|
||||
import org.opensearch.script.mustache.MultiSearchTemplateResponse;
|
||||
import org.opensearch.script.mustache.SearchTemplateRequest;
|
||||
import org.opensearch.script.mustache.SearchTemplateResponse;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.bucket.adjacency.AdjacencyMatrixAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.adjacency.ParsedAdjacencyMatrix;
|
||||
import org.opensearch.search.aggregations.bucket.composite.CompositeAggregationBuilder;
|
||||
|
@ -129,7 +129,7 @@ import static java.util.Collections.singletonMap;
|
||||
import static org.opensearch.client.RequestConverters.REQUEST_BODY_CONTENT_TYPE;
|
||||
import static org.opensearch.client.RequestConverters.enforceSameContentType;
|
||||
import static org.opensearch.index.query.QueryBuilders.matchAllQuery;
|
||||
import static org.elasticsearch.search.RandomSearchRequestGenerator.randomSearchRequest;
|
||||
import static org.opensearch.search.RandomSearchRequestGenerator.randomSearchRequest;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertToXContentEquivalent;
|
||||
import static org.hamcrest.CoreMatchers.equalTo;
|
||||
import static org.hamcrest.Matchers.hasEntry;
|
||||
|
@ -73,8 +73,8 @@ import org.opensearch.index.rankeval.RecallAtK;
|
||||
import org.opensearch.join.aggregations.ChildrenAggregationBuilder;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.matrix.stats.MatrixStatsAggregationBuilder;
|
||||
import org.opensearch.search.suggest.Suggest;
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
|
@ -61,8 +61,8 @@ import org.opensearch.script.mustache.MultiSearchTemplateResponse.Item;
|
||||
import org.opensearch.script.mustache.SearchTemplateRequest;
|
||||
import org.opensearch.script.mustache.SearchTemplateResponse;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.elasticsearch.search.aggregations.BucketOrder;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.BucketOrder;
|
||||
import org.opensearch.search.aggregations.bucket.composite.CompositeAggregation;
|
||||
import org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.composite.TermsValuesSourceBuilder;
|
||||
|
@ -83,9 +83,9 @@ import org.opensearch.script.mustache.SearchTemplateResponse;
|
||||
import org.opensearch.search.Scroll;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.bucket.range.Range;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms.Bucket;
|
||||
|
@ -24,7 +24,7 @@ import org.opensearch.client.Request;
|
||||
import org.opensearch.client.Response;
|
||||
import org.opensearch.client.ResponseException;
|
||||
import org.opensearch.common.Strings;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -23,7 +23,7 @@ import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.common.xcontent.ContextParser;
|
||||
import org.elasticsearch.common.xcontent.NamedXContentRegistry;
|
||||
import org.elasticsearch.plugins.spi.NamedXContentProvider;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.matrix.stats.MatrixStatsAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.matrix.stats.ParsedMatrixStats;
|
||||
|
||||
|
@ -21,7 +21,7 @@ package org.opensearch.search.aggregations.matrix.stats;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -18,7 +18,7 @@
|
||||
*/
|
||||
package org.opensearch.search.aggregations.matrix.stats;
|
||||
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
|
||||
/**
|
||||
* Interface for MatrixStats Metric Aggregation
|
||||
|
@ -24,9 +24,9 @@ import org.elasticsearch.common.xcontent.ToXContent;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.opensearch.search.MultiValueMode;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.support.ArrayValuesSourceAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceConfig;
|
||||
|
||||
|
@ -25,10 +25,10 @@ import org.opensearch.common.util.BigArrays;
|
||||
import org.opensearch.common.util.ObjectArray;
|
||||
import org.elasticsearch.index.fielddata.NumericDoubleValues;
|
||||
import org.opensearch.search.MultiValueMode;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollector;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollectorBase;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollectorBase;
|
||||
import org.opensearch.search.aggregations.metrics.MetricsAggregator;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
@ -20,11 +20,11 @@ package org.opensearch.search.aggregations.matrix.stats;
|
||||
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.opensearch.search.MultiValueMode;
|
||||
import org.elasticsearch.search.aggregations.AggregationExecutionException;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.AggregationExecutionException;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.support.ArrayValuesSourceAggregatorFactory;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceConfig;
|
||||
|
@ -23,7 +23,7 @@ import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.common.xcontent.ObjectParser;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.elasticsearch.search.aggregations.ParsedAggregation;
|
||||
import org.opensearch.search.aggregations.ParsedAggregation;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
|
@ -23,14 +23,11 @@ import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.elasticsearch.search.aggregations.AbstractAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregationInitializationException;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.support.CoreValuesSourceType;
|
||||
import org.opensearch.search.aggregations.support.ValueType;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceConfig;
|
||||
import org.opensearch.search.aggregations.AbstractAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregationInitializationException;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -20,12 +20,10 @@
|
||||
package org.opensearch.search.aggregations.support;
|
||||
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceConfig;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -23,8 +23,8 @@ import org.elasticsearch.common.ParseField;
|
||||
import org.opensearch.common.ParsingException;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.opensearch.script.Script;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder.CommonFields;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder.CommonFields;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
@ -27,9 +27,9 @@ import org.elasticsearch.common.xcontent.NamedXContentRegistry;
|
||||
import org.elasticsearch.indices.breaker.NoneCircuitBreakerService;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.opensearch.script.ScriptService;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.ParsedAggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.ParsedAggregation;
|
||||
import org.opensearch.search.aggregations.matrix.MatrixAggregationPlugin;
|
||||
import org.opensearch.search.aggregations.matrix.stats.InternalMatrixStats.Fields;
|
||||
import org.opensearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree;
|
||||
|
@ -31,7 +31,7 @@ import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.mapper.MappedFieldType;
|
||||
import org.elasticsearch.index.mapper.NumberFieldMapper;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.elasticsearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.matrix.MatrixAggregationPlugin;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -34,7 +34,7 @@ import org.opensearch.plugins.Plugin;
|
||||
import org.opensearch.script.Script;
|
||||
import org.opensearch.script.ScriptType;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.bucket.histogram.Histogram;
|
||||
import org.opensearch.search.aggregations.metrics.Stats;
|
||||
import org.opensearch.search.aggregations.pipeline.SimpleValue;
|
||||
@ -51,9 +51,9 @@ import java.util.Map;
|
||||
|
||||
import static org.opensearch.action.support.WriteRequest.RefreshPolicy.IMMEDIATE;
|
||||
import static org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.histogram;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.sum;
|
||||
import static org.elasticsearch.search.aggregations.PipelineAggregatorBuilders.bucketScript;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.histogram;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.sum;
|
||||
import static org.opensearch.search.aggregations.PipelineAggregatorBuilders.bucketScript;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertSearchResponse;
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
|
@ -25,7 +25,7 @@ import org.elasticsearch.common.xcontent.XContentType;
|
||||
import org.elasticsearch.plugins.Plugin;
|
||||
import org.opensearch.script.Script;
|
||||
import org.opensearch.script.ScriptType;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.elasticsearch.test.ESIntegTestCase;
|
||||
|
||||
|
@ -21,7 +21,7 @@ package org.opensearch.script.mustache;
|
||||
|
||||
import org.opensearch.common.io.stream.Writeable;
|
||||
import org.opensearch.script.ScriptType;
|
||||
import org.elasticsearch.search.RandomSearchRequestGenerator;
|
||||
import org.opensearch.search.RandomSearchRequestGenerator;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.elasticsearch.test.AbstractWireSerializingTestCase;
|
||||
|
||||
|
@ -30,7 +30,7 @@ import org.opensearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.opensearch.index.query.QueryBuilders;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms;
|
||||
import org.elasticsearch.test.ESIntegTestCase;
|
||||
|
||||
|
@ -26,8 +26,8 @@ import org.opensearch.client.Requests;
|
||||
import org.opensearch.cluster.metadata.IndexMetadata;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms;
|
||||
import org.opensearch.search.aggregations.metrics.Sum;
|
||||
import org.opensearch.search.aggregations.metrics.TopHits;
|
||||
@ -42,9 +42,9 @@ import static org.opensearch.index.query.QueryBuilders.matchQuery;
|
||||
import static org.opensearch.index.query.QueryBuilders.termQuery;
|
||||
import static org.opensearch.join.aggregations.JoinAggregationBuilders.children;
|
||||
import static org.opensearch.join.query.JoinQueryBuilders.hasChildQuery;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.sum;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.terms;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.topHits;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.sum;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.terms;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.topHits;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcked;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertHitCount;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoFailures;
|
||||
|
@ -21,7 +21,7 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.opensearch.action.search.SearchRequestBuilder;
|
||||
import org.opensearch.action.search.SearchResponse;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.bucket.MultiBucketsAggregation;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms;
|
||||
|
||||
@ -36,8 +36,8 @@ import java.util.stream.Stream;
|
||||
|
||||
import static org.elasticsearch.index.query.QueryBuilders.matchQuery;
|
||||
import static org.opensearch.join.aggregations.JoinAggregationBuilders.parent;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.terms;
|
||||
import static org.elasticsearch.search.aggregations.AggregationBuilders.topHits;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.terms;
|
||||
import static org.opensearch.search.aggregations.AggregationBuilders.topHits;
|
||||
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertSearchResponse;
|
||||
import static org.hamcrest.Matchers.equalTo;
|
||||
|
||||
|
@ -39,7 +39,7 @@ import org.opensearch.index.query.QueryBuilders;
|
||||
import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.bucket.filter.Filter;
|
||||
import org.opensearch.search.aggregations.bucket.global.Global;
|
||||
import org.opensearch.search.aggregations.bucket.terms.Terms;
|
||||
|
@ -29,9 +29,9 @@ import org.elasticsearch.index.mapper.MappedFieldType;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.opensearch.join.mapper.ParentIdFieldMapper;
|
||||
import org.opensearch.join.mapper.ParentJoinFieldMapper;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.support.CoreValuesSourceType;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory;
|
||||
|
@ -21,13 +21,13 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.elasticsearch.search.aggregations.AggregationExecutionException;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.NonCollectingAggregator;
|
||||
import org.opensearch.search.aggregations.AggregationExecutionException;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.NonCollectingAggregator;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory;
|
||||
|
@ -20,10 +20,10 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.bucket.BucketsAggregator;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
@ -20,7 +20,7 @@
|
||||
package org.opensearch.join.aggregations;
|
||||
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.bucket.InternalSingleBucketAggregation;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -20,7 +20,7 @@
|
||||
package org.opensearch.join.aggregations;
|
||||
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.bucket.InternalSingleBucketAggregation;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -29,9 +29,9 @@ import org.elasticsearch.index.mapper.MappedFieldType;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.opensearch.join.mapper.ParentIdFieldMapper;
|
||||
import org.opensearch.join.mapper.ParentJoinFieldMapper;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.support.CoreValuesSourceType;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory;
|
||||
|
@ -21,13 +21,13 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.elasticsearch.search.aggregations.AggregationExecutionException;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactory;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.NonCollectingAggregator;
|
||||
import org.opensearch.search.aggregations.AggregationExecutionException;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.AggregatorFactory;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.NonCollectingAggregator;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource.Bytes.WithOrdinals;
|
||||
import org.opensearch.search.aggregations.support.ValuesSourceAggregatorFactory;
|
||||
|
@ -33,10 +33,10 @@ import org.opensearch.common.lease.Releasables;
|
||||
import org.opensearch.common.lucene.Lucene;
|
||||
import org.opensearch.common.util.BigArrays;
|
||||
import org.opensearch.common.util.BitArray;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.bucket.BucketsAggregator;
|
||||
import org.opensearch.search.aggregations.bucket.SingleBucketAggregator;
|
||||
import org.opensearch.search.aggregations.bucket.terms.LongKeyedBucketOrds;
|
||||
|
@ -20,10 +20,10 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.support.ValuesSource;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
||||
|
@ -27,7 +27,7 @@ import org.opensearch.join.aggregations.ParentAggregationBuilder;
|
||||
import org.opensearch.join.aggregations.ParsedChildren;
|
||||
import org.opensearch.join.aggregations.ParsedParent;
|
||||
import org.elasticsearch.plugins.spi.NamedXContentProvider;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
@ -21,7 +21,7 @@ package org.opensearch.join.aggregations;
|
||||
|
||||
import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.elasticsearch.plugins.Plugin;
|
||||
import org.elasticsearch.search.aggregations.BaseAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.BaseAggregationTestCase;
|
||||
import org.elasticsearch.test.TestGeoShapeFieldMapperPlugin;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -52,9 +52,9 @@ import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.opensearch.join.mapper.MetaJoinFieldMapper;
|
||||
import org.opensearch.join.mapper.ParentJoinFieldMapper;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.bucket.terms.LongTerms;
|
||||
import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.metrics.InternalMin;
|
||||
|
@ -24,9 +24,9 @@ import org.elasticsearch.common.xcontent.NamedXContentRegistry;
|
||||
import org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry;
|
||||
import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalSingleBucketAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.bucket.ParsedSingleBucketAggregation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -23,9 +23,9 @@ import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.common.xcontent.NamedXContentRegistry.Entry;
|
||||
import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.elasticsearch.search.aggregations.InternalSingleBucketAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalSingleBucketAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.bucket.ParsedSingleBucketAggregation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
@ -24,7 +24,7 @@ import java.util.Collection;
|
||||
|
||||
import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.elasticsearch.plugins.Plugin;
|
||||
import org.elasticsearch.search.aggregations.BaseAggregationTestCase;
|
||||
import org.opensearch.search.aggregations.BaseAggregationTestCase;
|
||||
import org.elasticsearch.test.TestGeoShapeFieldMapperPlugin;
|
||||
|
||||
public class ParentTests extends BaseAggregationTestCase<ParentAggregationBuilder> {
|
||||
|
@ -53,8 +53,8 @@ import org.opensearch.join.ParentJoinPlugin;
|
||||
import org.opensearch.join.mapper.MetaJoinFieldMapper;
|
||||
import org.opensearch.join.mapper.ParentJoinFieldMapper;
|
||||
import org.elasticsearch.plugins.SearchPlugin;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregatorTestCase;
|
||||
import org.opensearch.search.aggregations.bucket.terms.StringTerms;
|
||||
import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.metrics.InternalMin;
|
||||
|
@ -33,7 +33,7 @@ import org.elasticsearch.common.xcontent.json.JsonXContent;
|
||||
import org.elasticsearch.index.query.MatchAllQueryBuilder;
|
||||
import org.elasticsearch.index.query.QueryBuilder;
|
||||
import org.opensearch.search.SearchModule;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.aggregations.AggregationBuilders;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.fetch.subphase.highlight.HighlightBuilder;
|
||||
import org.opensearch.search.suggest.SuggestBuilder;
|
||||
|
@ -28,8 +28,8 @@ import java.io.IOException;
|
||||
|
||||
import static java.util.Collections.emptyList;
|
||||
import static org.opensearch.index.reindex.BulkByScrollParallelizationHelper.sliceIntoSubRequests;
|
||||
import static org.elasticsearch.search.RandomSearchRequestGenerator.randomSearchRequest;
|
||||
import static org.elasticsearch.search.RandomSearchRequestGenerator.randomSearchSourceBuilder;
|
||||
import static org.opensearch.search.RandomSearchRequestGenerator.randomSearchRequest;
|
||||
import static org.opensearch.search.RandomSearchRequestGenerator.randomSearchSourceBuilder;
|
||||
|
||||
public class BulkByScrollParallelizationHelperTests extends ESTestCase {
|
||||
public void testSliceIntoSubRequests() throws IOException {
|
||||
|
@ -142,7 +142,7 @@ try {
|
||||
spotless {
|
||||
java {
|
||||
// Contains large data tables that do not format well.
|
||||
targetExclude 'src/main/java/org/elasticsearch/search/aggregations/metrics/HyperLogLogPlusPlus.java'
|
||||
targetExclude 'src/main/java/org/opensearch/search/aggregations/metrics/HyperLogLogPlusPlus.java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ import org.opensearch.rest.BaseRestHandler;
|
||||
import org.opensearch.script.ScriptService;
|
||||
import org.opensearch.search.SearchModule;
|
||||
import org.opensearch.search.SearchService;
|
||||
import org.elasticsearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.opensearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.opensearch.search.fetch.subphase.highlight.FastVectorHighlighter;
|
||||
import org.opensearch.snapshots.InternalSnapshotsInfoService;
|
||||
import org.opensearch.snapshots.SnapshotsService;
|
||||
|
@ -39,7 +39,7 @@ import org.opensearch.index.Index;
|
||||
import org.opensearch.index.shard.ShardId;
|
||||
import org.opensearch.rest.RestStatus;
|
||||
import org.opensearch.search.SearchException;
|
||||
import org.elasticsearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.opensearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.opensearch.transport.TcpTransport;
|
||||
|
||||
import java.io.IOException;
|
||||
@ -893,15 +893,15 @@ public class OpenSearchException extends RuntimeException implements ToXContentF
|
||||
NODE_DISCONNECTED_EXCEPTION(org.opensearch.transport.NodeDisconnectedException.class,
|
||||
org.opensearch.transport.NodeDisconnectedException::new, 84, UNKNOWN_VERSION_ADDED),
|
||||
// 85 used to be for AlreadyExpiredException
|
||||
AGGREGATION_EXECUTION_EXCEPTION(org.elasticsearch.search.aggregations.AggregationExecutionException.class,
|
||||
org.elasticsearch.search.aggregations.AggregationExecutionException::new, 86, UNKNOWN_VERSION_ADDED),
|
||||
AGGREGATION_EXECUTION_EXCEPTION(org.opensearch.search.aggregations.AggregationExecutionException.class,
|
||||
org.opensearch.search.aggregations.AggregationExecutionException::new, 86, UNKNOWN_VERSION_ADDED),
|
||||
// 87 used to be for MergeMappingException
|
||||
INVALID_INDEX_TEMPLATE_EXCEPTION(org.opensearch.indices.InvalidIndexTemplateException.class,
|
||||
org.opensearch.indices.InvalidIndexTemplateException::new, 88, UNKNOWN_VERSION_ADDED),
|
||||
REFRESH_FAILED_ENGINE_EXCEPTION(org.elasticsearch.index.engine.RefreshFailedEngineException.class,
|
||||
org.elasticsearch.index.engine.RefreshFailedEngineException::new, 90, UNKNOWN_VERSION_ADDED),
|
||||
AGGREGATION_INITIALIZATION_EXCEPTION(org.elasticsearch.search.aggregations.AggregationInitializationException.class,
|
||||
org.elasticsearch.search.aggregations.AggregationInitializationException::new, 91, UNKNOWN_VERSION_ADDED),
|
||||
AGGREGATION_INITIALIZATION_EXCEPTION(org.opensearch.search.aggregations.AggregationInitializationException.class,
|
||||
org.opensearch.search.aggregations.AggregationInitializationException::new, 91, UNKNOWN_VERSION_ADDED),
|
||||
DELAY_RECOVERY_EXCEPTION(org.opensearch.indices.recovery.DelayRecoveryException.class,
|
||||
org.opensearch.indices.recovery.DelayRecoveryException::new, 92, UNKNOWN_VERSION_ADDED),
|
||||
// 93 used to be for IndexWarmerMissingException
|
||||
@ -950,12 +950,12 @@ public class OpenSearchException extends RuntimeException implements ToXContentF
|
||||
ReplicationOperation.RetryOnPrimaryException::new, 117, UNKNOWN_VERSION_ADDED),
|
||||
ELASTICSEARCH_TIMEOUT_EXCEPTION(org.elasticsearch.OpenSearchTimeoutException.class,
|
||||
org.elasticsearch.OpenSearchTimeoutException::new, 118, UNKNOWN_VERSION_ADDED),
|
||||
QUERY_PHASE_EXECUTION_EXCEPTION(org.elasticsearch.search.query.QueryPhaseExecutionException.class,
|
||||
org.elasticsearch.search.query.QueryPhaseExecutionException::new, 119, UNKNOWN_VERSION_ADDED),
|
||||
QUERY_PHASE_EXECUTION_EXCEPTION(org.opensearch.search.query.QueryPhaseExecutionException.class,
|
||||
org.opensearch.search.query.QueryPhaseExecutionException::new, 119, UNKNOWN_VERSION_ADDED),
|
||||
REPOSITORY_VERIFICATION_EXCEPTION(org.opensearch.repositories.RepositoryVerificationException.class,
|
||||
org.opensearch.repositories.RepositoryVerificationException::new, 120, UNKNOWN_VERSION_ADDED),
|
||||
INVALID_AGGREGATION_PATH_EXCEPTION(org.elasticsearch.search.aggregations.InvalidAggregationPathException.class,
|
||||
org.elasticsearch.search.aggregations.InvalidAggregationPathException::new, 121, UNKNOWN_VERSION_ADDED),
|
||||
INVALID_AGGREGATION_PATH_EXCEPTION(org.opensearch.search.aggregations.InvalidAggregationPathException.class,
|
||||
org.opensearch.search.aggregations.InvalidAggregationPathException::new, 121, UNKNOWN_VERSION_ADDED),
|
||||
// 123 used to be IndexAlreadyExistsException and was renamed
|
||||
RESOURCE_ALREADY_EXISTS_EXCEPTION(ResourceAlreadyExistsException.class,
|
||||
ResourceAlreadyExistsException::new, 123, UNKNOWN_VERSION_ADDED),
|
||||
|
@ -31,8 +31,8 @@ import org.elasticsearch.common.lucene.search.TopDocsAndMaxScore;
|
||||
import org.opensearch.common.util.concurrent.AbstractRunnable;
|
||||
import org.opensearch.search.SearchPhaseResult;
|
||||
import org.opensearch.search.SearchShardTarget;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation.ReduceContextBuilder;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregation.ReduceContextBuilder;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.query.QuerySearchResult;
|
||||
|
||||
|
@ -43,9 +43,9 @@ import org.opensearch.search.SearchHit;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.opensearch.search.SearchPhaseResult;
|
||||
import org.opensearch.search.SearchService;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.dfs.AggregatedDfs;
|
||||
import org.opensearch.search.dfs.DfsSearchResult;
|
||||
|
@ -27,7 +27,7 @@ import org.opensearch.action.search.SearchResponse.Clusters;
|
||||
import org.opensearch.cluster.routing.GroupShardsIterator;
|
||||
import org.opensearch.search.SearchPhaseResult;
|
||||
import org.opensearch.search.SearchShardTarget;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
@ -27,8 +27,8 @@ import org.elasticsearch.common.unit.TimeValue;
|
||||
import org.elasticsearch.index.query.QueryBuilder;
|
||||
import org.opensearch.script.Script;
|
||||
import org.opensearch.search.Scroll;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.PipelineAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.PipelineAggregationBuilder;
|
||||
import org.opensearch.search.builder.PointInTimeBuilder;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.collapse.CollapseBuilder;
|
||||
|
@ -38,8 +38,8 @@ import org.opensearch.rest.RestStatus;
|
||||
import org.opensearch.rest.action.RestActions;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.internal.InternalSearchResponse;
|
||||
import org.opensearch.search.profile.ProfileShardResult;
|
||||
import org.opensearch.search.profile.SearchProfileShardResults;
|
||||
|
@ -32,8 +32,8 @@ import org.opensearch.index.shard.ShardId;
|
||||
import org.opensearch.search.SearchHit;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.opensearch.search.SearchShardTarget;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.internal.InternalSearchResponse;
|
||||
import org.opensearch.search.profile.ProfileShardResult;
|
||||
import org.opensearch.search.profile.SearchProfileShardResults;
|
||||
|
@ -23,7 +23,7 @@ import org.opensearch.common.io.stream.StreamOutput;
|
||||
import org.elasticsearch.common.xcontent.ToXContentFragment;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.opensearch.search.SearchHits;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.profile.ProfileShardResult;
|
||||
import org.opensearch.search.profile.SearchProfileShardResults;
|
||||
import org.opensearch.search.suggest.Suggest;
|
||||
|
@ -60,8 +60,8 @@ import org.opensearch.indices.breaker.CircuitBreakerService;
|
||||
import org.opensearch.search.SearchPhaseResult;
|
||||
import org.opensearch.search.SearchService;
|
||||
import org.opensearch.search.SearchShardTarget;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.internal.AliasFilter;
|
||||
import org.opensearch.search.internal.InternalSearchResponse;
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
/**
|
||||
* Support for running user provided scripts (in the request, in cluster state, etc) in portions of various requests
|
||||
* ({@link org.elasticsearch.common.lucene.search.function.FunctionScoreQuery}, {@link org.elasticsearch.search.aggregations.Aggregation},
|
||||
* ({@link org.elasticsearch.common.lucene.search.function.FunctionScoreQuery}, {@link org.opensearch.search.aggregations.Aggregation},
|
||||
* {@link org.opensearch.action.update.UpdateAction}, etc). Pluggable via implementing {@link org.opensearch.plugins.ScriptPlugin}.
|
||||
*/
|
||||
package org.opensearch.script;
|
||||
|
@ -50,7 +50,7 @@ import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.elasticsearch.index.search.NestedHelper;
|
||||
import org.elasticsearch.index.shard.IndexShard;
|
||||
import org.elasticsearch.index.similarity.SimilarityService;
|
||||
import org.elasticsearch.search.aggregations.SearchContextAggregations;
|
||||
import org.opensearch.search.aggregations.SearchContextAggregations;
|
||||
import org.opensearch.search.collapse.CollapseContext;
|
||||
import org.opensearch.search.dfs.DfsSearchResult;
|
||||
import org.opensearch.search.fetch.FetchPhase;
|
||||
|
@ -100,10 +100,10 @@ import org.elasticsearch.plugins.SearchPlugin.SearchExtSpec;
|
||||
import org.elasticsearch.plugins.SearchPlugin.SearchExtensionSpec;
|
||||
import org.elasticsearch.plugins.SearchPlugin.SignificanceHeuristicSpec;
|
||||
import org.elasticsearch.plugins.SearchPlugin.SuggesterSpec;
|
||||
import org.elasticsearch.search.aggregations.AggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.BaseAggregationBuilder;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.PipelineAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.AggregationBuilder;
|
||||
import org.opensearch.search.aggregations.BaseAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.PipelineAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.adjacency.AdjacencyMatrixAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.adjacency.InternalAdjacencyMatrix;
|
||||
import org.opensearch.search.aggregations.bucket.composite.CompositeAggregationBuilder;
|
||||
|
@ -75,12 +75,12 @@ import org.elasticsearch.indices.cluster.IndicesClusterStateService.AllocatedInd
|
||||
import org.elasticsearch.node.ResponseCollectorService;
|
||||
import org.opensearch.script.FieldScript;
|
||||
import org.opensearch.script.ScriptService;
|
||||
import org.elasticsearch.search.aggregations.AggregationInitializationException;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.elasticsearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.elasticsearch.search.aggregations.SearchContextAggregations;
|
||||
import org.opensearch.search.aggregations.AggregationInitializationException;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.opensearch.search.aggregations.MultiBucketConsumerService;
|
||||
import org.opensearch.search.aggregations.SearchContextAggregations;
|
||||
import org.opensearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree;
|
||||
import org.opensearch.search.builder.SearchSourceBuilder;
|
||||
import org.opensearch.search.collapse.CollapseContext;
|
||||
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.elasticsearch.common.ParseField;
|
||||
import org.elasticsearch.common.xcontent.ToXContent;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
|
||||
import org.elasticsearch.common.ParseField;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.common.geo.GeoDistance;
|
||||
import org.opensearch.common.geo.GeoPoint;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Collector;
|
||||
import org.apache.lucene.search.Query;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.util.SetOnce;
|
||||
import org.opensearch.common.ParsingException;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.elasticsearch.OpenSearchParseException;
|
||||
import org.elasticsearch.common.ParseField;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.index.LeafReaderContext;
|
||||
import org.apache.lucene.search.MatchAllDocsQuery;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.common.ParsingException;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.elasticsearch.index.query.QueryShardContext;
|
||||
import org.opensearch.search.internal.SearchContext;
|
@ -17,10 +17,10 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories.Builder;
|
||||
|
||||
import java.util.Map;
|
||||
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
|
||||
import org.apache.lucene.index.LeafReaderContext;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.common.Strings;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.search.aggregations.bucket.BucketsAggregator;
|
||||
import org.opensearch.search.aggregations.bucket.filter.FilterAggregator;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
public interface HasAggregations {
|
||||
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.common.Strings;
|
@ -16,13 +16,13 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
||||
import org.opensearch.common.io.stream.Writeable;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.opensearch.search.aggregations.InternalAggregation.ReduceContext;
|
||||
import org.opensearch.search.aggregations.pipeline.PipelineAggregator;
|
||||
import org.opensearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree;
|
||||
import org.opensearch.search.aggregations.pipeline.SiblingPipelineAggregator;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.Writeable;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.Version;
|
||||
import org.opensearch.common.ParsingException;
|
||||
@ -27,7 +27,7 @@ import org.opensearch.common.util.Comparators;
|
||||
import org.elasticsearch.common.xcontent.XContent;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.elasticsearch.search.aggregations.Aggregator.BucketComparator;
|
||||
import org.opensearch.search.aggregations.Aggregator.BucketComparator;
|
||||
import org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket;
|
||||
import org.opensearch.search.aggregations.support.AggregationPath;
|
||||
import org.opensearch.search.sort.SortOrder;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.OpenSearchException;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.search.aggregations.bucket.MultiBucketsAggregation.Bucket;
|
||||
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.search.LeafCollector;
|
||||
import org.apache.lucene.search.Scorable;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.search.Scorable;
|
||||
import org.opensearch.common.lucene.ScorerAware;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.index.LeafReaderContext;
|
||||
import org.apache.lucene.search.CollectionTerminatedException;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.cluster.service.ClusterService;
|
||||
import org.opensearch.common.breaker.CircuitBreaker;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.apache.lucene.index.LeafReaderContext;
|
||||
import org.opensearch.search.internal.SearchContext;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.elasticsearch.common.xcontent.AbstractObjectParser;
|
||||
import org.elasticsearch.common.xcontent.ToXContent;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.common.CheckedBiConsumer;
|
||||
import org.elasticsearch.common.CheckedFunction;
|
@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.action.ActionRequestValidationException;
|
||||
import org.opensearch.action.ValidateActions;
|
||||
@ -25,7 +25,7 @@ import org.opensearch.common.io.stream.NamedWriteable;
|
||||
import org.elasticsearch.common.xcontent.ToXContentFragment;
|
||||
import org.elasticsearch.index.query.QueryRewriteContext;
|
||||
import org.elasticsearch.index.query.Rewriteable;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories.Builder;
|
||||
import org.opensearch.search.aggregations.bucket.histogram.AutoDateHistogramAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.histogram.DateHistogramAggregationBuilder;
|
||||
import org.opensearch.search.aggregations.bucket.histogram.HistogramAggregationBuilder;
|
@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import org.opensearch.script.Script;
|
||||
import org.opensearch.search.aggregations.pipeline.AvgBucketPipelineAggregationBuilder;
|
@ -16,9 +16,9 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
package org.elasticsearch.search.aggregations;
|
||||
package org.opensearch.search.aggregations;
|
||||
|
||||
import static org.elasticsearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer;
|
||||
import static org.opensearch.search.aggregations.MultiBucketConsumerService.MultiBucketConsumer;
|
||||
|
||||
/**
|
||||
* The aggregation context that is part of the search context.
|
@ -31,11 +31,11 @@ import org.apache.lucene.util.packed.PackedInts;
|
||||
import org.apache.lucene.util.packed.PackedLongValues;
|
||||
import org.opensearch.common.util.BigArrays;
|
||||
import org.opensearch.common.util.LongHash;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.BucketCollector;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollector;
|
||||
import org.elasticsearch.search.aggregations.MultiBucketCollector;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.BucketCollector;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.MultiBucketCollector;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -21,14 +21,14 @@ package org.opensearch.search.aggregations.bucket;
|
||||
import org.opensearch.common.lease.Releasable;
|
||||
import org.opensearch.common.util.BigArrays;
|
||||
import org.opensearch.common.util.IntArray;
|
||||
import org.elasticsearch.search.aggregations.AggregationExecutionException;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorBase;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.AggregationExecutionException;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorBase;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.bucket.global.GlobalAggregator;
|
||||
import org.opensearch.search.aggregations.bucket.terms.LongKeyedBucketOrds;
|
||||
import org.opensearch.search.aggregations.support.AggregationPath;
|
||||
|
@ -19,11 +19,11 @@
|
||||
|
||||
package org.opensearch.search.aggregations.bucket;
|
||||
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.AggregatorFactories;
|
||||
import org.elasticsearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.elasticsearch.search.aggregations.BucketCollector;
|
||||
import org.elasticsearch.search.aggregations.MultiBucketCollector;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.AggregatorFactories;
|
||||
import org.opensearch.search.aggregations.CardinalityUpperBound;
|
||||
import org.opensearch.search.aggregations.BucketCollector;
|
||||
import org.opensearch.search.aggregations.MultiBucketCollector;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
|
||||
import java.io.IOException;
|
||||
|
@ -21,10 +21,10 @@ package org.opensearch.search.aggregations.bucket;
|
||||
|
||||
import org.apache.lucene.index.LeafReaderContext;
|
||||
import org.apache.lucene.search.ScoreMode;
|
||||
import org.elasticsearch.search.aggregations.Aggregator;
|
||||
import org.elasticsearch.search.aggregations.BucketCollector;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.Aggregator;
|
||||
import org.opensearch.search.aggregations.BucketCollector;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.LeafBucketCollector;
|
||||
import org.opensearch.search.aggregations.support.AggregationPath.PathElement;
|
||||
import org.opensearch.search.internal.SearchContext;
|
||||
import org.opensearch.search.sort.SortOrder;
|
||||
|
@ -21,9 +21,9 @@ package org.opensearch.search.aggregations.bucket;
|
||||
import org.opensearch.common.io.stream.StreamInput;
|
||||
import org.opensearch.common.io.stream.StreamOutput;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregation;
|
||||
import org.elasticsearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregation;
|
||||
import org.opensearch.search.aggregations.InternalAggregations;
|
||||
import org.opensearch.search.aggregations.pipeline.PipelineAggregator.PipelineTree;
|
||||
import org.opensearch.search.aggregations.support.AggregationPath;
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package org.opensearch.search.aggregations.bucket;
|
||||
|
||||
import org.elasticsearch.search.aggregations.InternalMultiBucketAggregation;
|
||||
import org.opensearch.search.aggregations.InternalMultiBucketAggregation;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
@ -20,9 +20,9 @@
|
||||
package org.opensearch.search.aggregations.bucket;
|
||||
|
||||
import org.elasticsearch.common.xcontent.ToXContent;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
import org.elasticsearch.search.aggregations.HasAggregations;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.HasAggregations;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -21,9 +21,9 @@ package org.opensearch.search.aggregations.bucket;
|
||||
import org.elasticsearch.common.xcontent.XContentBuilder;
|
||||
import org.elasticsearch.common.xcontent.XContentParser;
|
||||
import org.opensearch.common.xcontent.XContentParserUtils;
|
||||
import org.elasticsearch.search.aggregations.Aggregation;
|
||||
import org.elasticsearch.search.aggregations.Aggregations;
|
||||
import org.elasticsearch.search.aggregations.ParsedAggregation;
|
||||
import org.opensearch.search.aggregations.Aggregation;
|
||||
import org.opensearch.search.aggregations.Aggregations;
|
||||
import org.opensearch.search.aggregations.ParsedAggregation;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user