[Rename] modules/lang-expression (#206)

Refactor lang-expression module as part of the Elasticsearch to OpenSearch renaming.

Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
Rabi Panda 2021-03-04 16:06:49 -08:00 committed by Nick Knize
parent 5e8ccff0f5
commit 40c21dce83
29 changed files with 37 additions and 37 deletions

View File

@ -16,12 +16,12 @@
* specific language governing permissions and limitations
* under the License.
*/
apply plugin: 'elasticsearch.yaml-rest-test'
apply plugin: 'elasticsearch.internal-cluster-test'
apply plugin: 'opensearch.yaml-rest-test'
apply plugin: 'opensearch.internal-cluster-test'
esplugin {
description 'Lucene expressions integration for Elasticsearch'
classname 'org.elasticsearch.script.expression.ExpressionPlugin'
description 'Lucene expressions integration for OpenSearch'
classname 'org.opensearch.script.expression.ExpressionPlugin'
}
dependencies {

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.elasticsearch.action.search.SearchPhaseExecutionException;
import org.elasticsearch.action.search.SearchRequestBuilder;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.elasticsearch.common.bytes.BytesArray;
import org.elasticsearch.common.settings.Settings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
@ -19,6 +17,8 @@ package org.elasticsearch.script.expression;
* under the License.
*/
package org.opensearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;
import org.elasticsearch.search.MultiValueMode;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
@ -19,6 +17,8 @@ package org.elasticsearch.script.expression;
* under the License.
*/
package org.opensearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;
import org.elasticsearch.search.MultiValueMode;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.io.IOException;
import org.apache.lucene.expressions.Bindings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.expressions.Expression;
import org.apache.lucene.expressions.SimpleBindings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.io.IOException;
import org.apache.lucene.expressions.Bindings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.util.Collection;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.expressions.Bindings;
import org.apache.lucene.expressions.Expression;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.expressions.Expression;
import org.apache.lucene.expressions.SimpleBindings;
@ -59,7 +59,7 @@ import java.util.Set;
import java.util.function.Function;
/**
* Provides the infrastructure for Lucene expressions as a scripting language for Elasticsearch.
* Provides the infrastructure for Lucene expressions as a scripting language for OpenSearch.
*
* Only contexts returning numeric types or {@link Object} are supported.
*/

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.io.IOException;
import org.apache.lucene.expressions.Bindings;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.DocValues;
import org.apache.lucene.index.LeafReaderContext;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.queries.function.ValueSource;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
@ -19,6 +17,8 @@ package org.elasticsearch.script.expression;
* under the License.
*/
package org.opensearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -1,5 +1,3 @@
package org.elasticsearch.script.expression;
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
@ -19,6 +17,8 @@ package org.elasticsearch.script.expression;
* under the License.
*/
package org.opensearch.script.expression;
import org.apache.lucene.search.DoubleValuesSource;
import org.elasticsearch.index.fielddata.IndexFieldData;
import org.elasticsearch.search.MultiValueMode;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.index.LeafReaderContext;
import org.apache.lucene.search.DoubleValues;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.apache.lucene.search.DoubleValues;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import org.elasticsearch.index.fielddata.IndexNumericFieldData;
import org.elasticsearch.index.fielddata.LeafNumericFieldData;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.io.IOException;
import java.text.ParseException;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import java.io.IOException;
import java.text.ParseException;

View File

@ -17,7 +17,7 @@
* under the License.
*/
package org.elasticsearch.script.expression;
package org.opensearch.script.expression;
import com.carrotsearch.randomizedtesting.annotations.Name;
import com.carrotsearch.randomizedtesting.annotations.ParametersFactory;