diff --git a/lib/opensearch/dsl/search/queries/script_score.rb b/lib/opensearch/dsl/search/queries/script_score.rb index 534fc6339..ecf2b7058 100644 --- a/lib/opensearch/dsl/search/queries/script_score.rb +++ b/lib/opensearch/dsl/search/queries/script_score.rb @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. + module OpenSearch module DSL module Search diff --git a/spec/opensearch/dsl/search/queries/script_score_spec.rb b/spec/opensearch/dsl/search/queries/script_score_spec.rb index 9293f7aa3..1d43a9c91 100644 --- a/spec/opensearch/dsl/search/queries/script_score_spec.rb +++ b/spec/opensearch/dsl/search/queries/script_score_spec.rb @@ -1,3 +1,9 @@ +# SPDX-License-Identifier: Apache-2.0 +# +# The OpenSearch Contributors require contributions made to +# this file be licensed under the Apache-2.0 license or a +# compatible open source license. + require_relative '../../../../spec_helper' describe OpenSearch::DSL::Search::Queries::ScriptScore do