From dd43533a8836d2e4fc351c8dbd4a4ec7d9e13af3 Mon Sep 17 00:00:00 2001 From: Kim Quang Cap Date: Tue, 9 Jul 2024 15:25:34 +0700 Subject: [PATCH] Add license header for OS. Signed-off-by: Kim Quang Cap --- lib/opensearch/dsl/search/queries/script_score.rb | 6 ++++++ spec/opensearch/dsl/search/queries/script_score_spec.rb | 6 ++++++ 2 files changed, 12 insertions(+) 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