Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9266A200BD3 for ; Tue, 6 Dec 2016 16:11:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 910A8160B31; Tue, 6 Dec 2016 15:11:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CC5EF160B2F for ; Tue, 6 Dec 2016 16:11:41 +0100 (CET) Received: (qmail 55207 invoked by uid 500); 6 Dec 2016 15:11:40 -0000 Mailing-List: contact commits-help@lucenenet.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@lucenenet.apache.org Delivered-To: mailing list commits@lucenenet.apache.org Received: (qmail 53678 invoked by uid 99); 6 Dec 2016 15:11:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2016 15:11:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 966FAF2139; Tue, 6 Dec 2016 15:11:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: nightowl888@apache.org To: commits@lucenenet.apache.org Date: Tue, 06 Dec 2016 15:12:08 -0000 Message-Id: <3eb41bdd7ed84ac8b5b7b65b9072c2e7@git.apache.org> In-Reply-To: <4ec64ecbc83b463ba620eb199f52fe93@git.apache.org> References: <4ec64ecbc83b463ba620eb199f52fe93@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [33/58] lucenenet git commit: QueryParser.Flexible: License headers archived-at: Tue, 06 Dec 2016 15:11:44 -0000 QueryParser.Flexible: License headers Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/c5c54abe Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/c5c54abe Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/c5c54abe Branch: refs/heads/master Commit: c5c54abe56dc7b728367fdc9d2156649bc346603 Parents: 3587073 Author: Shad Storhaug Authored: Sun Dec 4 22:24:11 2016 +0700 Committer: Shad Storhaug Committed: Sun Dec 4 22:27:11 2016 +0700 ---------------------------------------------------------------------- .../Flexible/Core/Config/AbstractQueryConfig.cs | 17 +++++++++++++++++ .../Flexible/Core/Config/ConfigurationKey.cs | 17 +++++++++++++++++ .../Flexible/Core/Config/FieldConfig.cs | 17 +++++++++++++++++ .../Flexible/Core/Config/FieldConfigListener.cs | 17 +++++++++++++++++ .../Flexible/Core/Config/QueryConfigHandler.cs | 17 +++++++++++++++++ .../Flexible/Core/Messages/QueryParserMessages.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/AndQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/AnyQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/BooleanQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/BoostQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/DeletedQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/FieldQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/FieldValuePairQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/FieldableNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/FuzzyQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/GroupQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/MatchAllDocsQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/MatchNoDocsQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/ModifierQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/NoTokenFoundQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/OpaqueQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/OrQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/PathQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/PhraseSlopQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/ProximityQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/QueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/QueryNodeImpl.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/QuotedFieldQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/RangeQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/SlopQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/TextableQueryNode.cs | 17 +++++++++++++++++ .../Core/Nodes/TokenizedPhraseQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/ValueQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Core/Parser/EscapeQuerySyntax.cs | 17 +++++++++++++++++ .../Flexible/Core/Parser/SyntaxParser.cs | 17 +++++++++++++++++ .../NoChildOptimizationQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Flexible/Core/Processors/QueryNodeProcessor.cs | 17 +++++++++++++++++ .../Core/Processors/QueryNodeProcessorImpl.cs | 17 +++++++++++++++++ .../Core/Processors/QueryNodeProcessorPipeline.cs | 17 +++++++++++++++++ .../Processors/RemoveDeletedQueryNodesProcessor.cs | 17 +++++++++++++++++ .../Flexible/Core/QueryNodeError.cs | 17 +++++++++++++++++ .../Flexible/Core/QueryNodeException.cs | 17 +++++++++++++++++ .../Flexible/Core/QueryNodeParseException.cs | 17 +++++++++++++++++ .../Flexible/Core/QueryParserHelper.cs | 17 +++++++++++++++++ .../Flexible/Core/Util/QueryNodeOperation.cs | 17 +++++++++++++++++ .../Flexible/Core/Util/StringUtils.cs | 17 +++++++++++++++++ .../Flexible/Core/Util/UnescapedCharSequence.cs | 17 +++++++++++++++++ .../Flexible/Messages/Message.cs | 17 +++++++++++++++++ .../Flexible/Messages/MessageImpl.cs | 17 +++++++++++++++++ .../Flexible/Messages/NLS.cs | 17 +++++++++++++++++ .../Flexible/Messages/NLSException.cs | 17 +++++++++++++++++ .../Flexible/Precedence/PrecedenceQueryParser.cs | 17 +++++++++++++++++ .../BooleanModifiersQueryNodeProcessor.cs | 17 +++++++++++++++++ .../PrecedenceQueryNodeProcessorPipeline.cs | 17 +++++++++++++++++ .../Standard/Builders/AnyQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/BooleanQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/BoostQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/DummyQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/FieldQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/FuzzyQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/GroupQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/MatchAllDocsQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/MatchNoDocsQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/ModifierQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/MultiPhraseQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/NumericRangeQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/PhraseQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/PrefixWildcardQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/RegexpQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/SlopQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Builders/StandardBooleanQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/StandardQueryBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/StandardQueryTreeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/TermRangeQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Builders/WildcardQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Standard/Config/FieldBoostMapFCListener.cs | 17 +++++++++++++++++ .../Config/FieldDateResolutionFCListener.cs | 17 +++++++++++++++++ .../Flexible/Standard/Config/FuzzyConfig.cs | 17 +++++++++++++++++ .../Flexible/Standard/Config/NumberDateFormat.cs | 17 +++++++++++++++++ .../Flexible/Standard/Config/NumericConfig.cs | 17 +++++++++++++++++ .../Standard/Config/NumericFieldConfigListener.cs | 17 +++++++++++++++++ .../Standard/Config/StandardQueryConfigHandler.cs | 17 +++++++++++++++++ .../Standard/Nodes/AbstractRangeQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Nodes/BooleanModifierNode.cs | 17 +++++++++++++++++ .../Standard/Nodes/MultiPhraseQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Nodes/NumericQueryNode.cs | 17 +++++++++++++++++ .../Standard/Nodes/NumericRangeQueryNode.cs | 17 +++++++++++++++++ .../Standard/Nodes/PrefixWildcardQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Nodes/RegexpQueryNode.cs | 17 +++++++++++++++++ .../Standard/Nodes/StandardBooleanQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Nodes/TermRangeQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Nodes/WildcardQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Standard/Parser/CharStream.cs | 17 +++++++++++++++++ .../Standard/Parser/EscapeQuerySyntaxImpl.cs | 17 +++++++++++++++++ .../Flexible/Standard/Parser/FastCharStream.cs | 17 +++++++++++++++++ .../Flexible/Standard/Parser/ParseException.cs | 17 +++++++++++++++++ .../Standard/Parser/StandardSyntaxParser.cs | 17 +++++++++++++++++ .../Parser/StandardSyntaxParserConstants.cs | 17 +++++++++++++++++ .../Parser/StandardSyntaxParserTokenManager.cs | 17 +++++++++++++++++ .../Flexible/Standard/Parser/Token.cs | 17 +++++++++++++++++ .../Flexible/Standard/Parser/TokenMgrError.cs | 17 +++++++++++++++++ .../Processors/AllowLeadingWildcardProcessor.cs | 17 +++++++++++++++++ .../Processors/AnalyzerQueryNodeProcessor.cs | 17 +++++++++++++++++ .../BooleanQuery2ModifierNodeProcessor.cs | 17 +++++++++++++++++ ...eanSingleChildOptimizationQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Standard/Processors/BoostQueryNodeProcessor.cs | 17 +++++++++++++++++ .../DefaultPhraseSlopQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Standard/Processors/FuzzyQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Standard/Processors/GroupQueryNodeProcessor.cs | 17 +++++++++++++++++ .../LowercaseExpandedTermsQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/MatchAllDocsQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/MultiFieldQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/MultiTermRewriteMethodProcessor.cs | 17 +++++++++++++++++ .../Processors/NumericQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/NumericRangeQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/OpenRangeQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/PhraseSlopQueryNodeProcessor.cs | 17 +++++++++++++++++ .../RemoveEmptyNonLeafQueryNodeProcessor.cs | 17 +++++++++++++++++ .../StandardQueryNodeProcessorPipeline.cs | 17 +++++++++++++++++ .../Processors/TermRangeQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Processors/WildcardQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Flexible/Standard/QueryParserUtil.cs | 17 +++++++++++++++++ .../Flexible/Standard/StandardQueryParser.cs | 17 +++++++++++++++++ .../Flexible/Core/Builders/TestQueryTreeBuilder.cs | 17 +++++++++++++++++ .../Flexible/Core/Nodes/TestQueryNode.cs | 17 +++++++++++++++++ .../Flexible/Messages/MessagesTestBundle.cs | 17 +++++++++++++++++ .../Flexible/Messages/TestNLS.cs | 17 +++++++++++++++++ .../Precedence/TestPrecedenceQueryParser.cs | 17 +++++++++++++++++ .../Flexible/Spans/SpanOrQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Flexible/Spans/SpanTermQueryNodeBuilder.cs | 17 +++++++++++++++++ .../Flexible/Spans/SpansQueryConfigHandler.cs | 17 +++++++++++++++++ .../Flexible/Spans/SpansQueryTreeBuilder.cs | 17 +++++++++++++++++ .../Spans/SpansValidatorQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Flexible/Spans/TestSpanQueryParser.cs | 17 +++++++++++++++++ .../Spans/TestSpanQueryParserSimpleSample.cs | 17 +++++++++++++++++ .../Flexible/Spans/UniqueFieldAttribute.cs | 17 +++++++++++++++++ .../Flexible/Spans/UniqueFieldAttributeImpl.cs | 17 +++++++++++++++++ .../Spans/UniqueFieldQueryNodeProcessor.cs | 17 +++++++++++++++++ .../Flexible/Standard/TestMultiAnalyzerQPHelper.cs | 17 +++++++++++++++++ .../Flexible/Standard/TestMultiFieldQPHelper.cs | 17 +++++++++++++++++ .../Flexible/Standard/TestNumericQueryParser.cs | 17 +++++++++++++++++ .../Flexible/Standard/TestQPHelper.cs | 17 +++++++++++++++++ .../Flexible/Standard/TestStandardQP.cs | 17 +++++++++++++++++ 143 files changed, 2431 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Config/AbstractQueryConfig.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Config/AbstractQueryConfig.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Config/AbstractQueryConfig.cs index 88d7850..ad41267 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Config/AbstractQueryConfig.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Config/AbstractQueryConfig.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Config { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This class is the base of {@link QueryConfigHandler} and {@link FieldConfig}. /// It has operations to set, unset and get configuration values. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Config/ConfigurationKey.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Config/ConfigurationKey.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Config/ConfigurationKey.cs index 43825fb..a39535e 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Config/ConfigurationKey.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Config/ConfigurationKey.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Config { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// An instance of this class represents a key that is used to retrieve a value /// from {@link AbstractQueryConfig}. It also holds the value's type, which is http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfig.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfig.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfig.cs index ecc550b..96001e5 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfig.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfig.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Config { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This class represents a field configuration. /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfigListener.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfigListener.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfigListener.cs index 47cccb2..1e50e32 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfigListener.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Config/FieldConfigListener.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Config { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This interface should be implemented by classes that wants to listen for /// field configuration requests. The implementation receives a http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Config/QueryConfigHandler.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Config/QueryConfigHandler.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Config/QueryConfigHandler.cs index 72cc2f4..629dc76 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Config/QueryConfigHandler.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Config/QueryConfigHandler.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Config { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This class can be used to hold any query configuration and no field /// configuration. For field configuration, it creates an empty http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Messages/QueryParserMessages.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Messages/QueryParserMessages.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Messages/QueryParserMessages.cs index 9f1d137..6a31e4c 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Messages/QueryParserMessages.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Messages/QueryParserMessages.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Messages { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// Flexible Query Parser message bundle class /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AndQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AndQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AndQueryNode.cs index d317d65..1dd7f32 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AndQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AndQueryNode.cs @@ -5,6 +5,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link AndQueryNode} represents an AND boolean operation performed on a /// list of nodes. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AnyQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AnyQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AnyQueryNode.cs index 7435a13..ac04755 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AnyQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/AnyQueryNode.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link AnyQueryNode} represents an ANY operator performed on a list of /// nodes. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BooleanQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BooleanQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BooleanQueryNode.cs index 8a3cd91..2976640 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BooleanQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BooleanQueryNode.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link BooleanQueryNode} represents a list of elements which do not have an /// explicit boolean operator defined between them. It can be used to express a http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs index 90ca00a..3bd4bc8 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/BoostQueryNode.cs @@ -5,6 +5,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link BoostQueryNode} boosts the QueryNode tree which is under this node. /// So, it must only and always have one child. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/DeletedQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/DeletedQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/DeletedQueryNode.cs index ffaed98..a47ce40 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/DeletedQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/DeletedQueryNode.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link DeletedQueryNode} represents a node that was deleted from the query /// node tree. It can be removed from the tree using the http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldQueryNode.cs index ad6e12c..522c783 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldQueryNode.cs @@ -4,6 +4,23 @@ using System.Globalization; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link FieldQueryNode} represents a element that contains field/text tuple /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldValuePairQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldValuePairQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldValuePairQueryNode.cs index fe7aa80..799dcfa 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldValuePairQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldValuePairQueryNode.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This interface should be implemented by {@link QueryNode} that holds a field /// and an arbitrary value. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldableNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldableNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldableNode.cs index b96821b..a81fa2c 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldableNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FieldableNode.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A query node implements {@link FieldableNode} interface to indicate that its /// children and itself are associated to a specific field. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FuzzyQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FuzzyQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FuzzyQueryNode.cs index eef7e98..ae619d9 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FuzzyQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/FuzzyQueryNode.cs @@ -3,6 +3,23 @@ using Lucene.Net.Support; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link FuzzyQueryNode} represents a element that contains /// field/text/similarity tuple http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/GroupQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/GroupQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/GroupQueryNode.cs index aabc4a8..915366e 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/GroupQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/GroupQueryNode.cs @@ -5,6 +5,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link GroupQueryNode} represents a location where the original user typed /// real parenthesis on the query string. This class is useful for queries like: http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchAllDocsQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchAllDocsQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchAllDocsQueryNode.cs index bedc271..6709104 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchAllDocsQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchAllDocsQueryNode.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link MatchAllDocsQueryNode} indicates that a query node tree or subtree /// will match all documents if executed in the index. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchNoDocsQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchNoDocsQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchNoDocsQueryNode.cs index e03b1f0..1b7a4b7 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchNoDocsQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/MatchNoDocsQueryNode.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link MatchNoDocsQueryNode} indicates that a query node tree or subtree /// will not match any documents if executed in the index. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ModifierQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ModifierQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ModifierQueryNode.cs index cf34600..5432b0b 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ModifierQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ModifierQueryNode.cs @@ -6,6 +6,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link ModifierQueryNode} indicates the modifier value (+,-,?,NONE) for /// each term on the query string. For example "+t1 -t2 t3" will have a tree of: http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/NoTokenFoundQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/NoTokenFoundQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/NoTokenFoundQueryNode.cs index 24e77c6..7914799 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/NoTokenFoundQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/NoTokenFoundQueryNode.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link NoTokenFoundQueryNode} is used if a term is convert into no tokens /// by the tokenizer/lemmatizer/analyzer (null). http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OpaqueQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OpaqueQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OpaqueQueryNode.cs index 4e30add..9d32332 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OpaqueQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OpaqueQueryNode.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link OpaqueQueryNode} is used for specify values that are not supposed to /// be parsed by the parser. For example: and XPATH query in the middle of a http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OrQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OrQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OrQueryNode.cs index 835edfe..93a8e33 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OrQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/OrQueryNode.cs @@ -5,6 +5,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link OrQueryNode} represents an OR boolean operation performed on a list /// of nodes. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PathQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PathQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PathQueryNode.cs index f813688..0ca1f72 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PathQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PathQueryNode.cs @@ -7,6 +7,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link PathQueryNode} is used to store queries like /// /company/USA/California /product/shoes/brown. QueryText are objects that http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs index 49d8195..f16a59a 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/PhraseSlopQueryNode.cs @@ -4,6 +4,23 @@ using Lucene.Net.QueryParsers.Flexible.Messages; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + + */ /// /// Query node for 's slop factor. /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ProximityQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ProximityQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ProximityQueryNode.cs index 82d6208..ceccf1c 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ProximityQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ProximityQueryNode.cs @@ -7,6 +7,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link ProximityQueryNode} represents a query where the terms should meet /// specific distance conditions. (a b c) WITHIN [SENTENCE|PARAGRAPH|NUMBER] http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNode.cs index 983c66f..a448d10 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNode.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link QueryNode} is a interface implemented by all nodes on a QueryNode /// tree. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNodeImpl.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNodeImpl.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNodeImpl.cs index 3051d32..b0a08ec 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNodeImpl.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QueryNodeImpl.cs @@ -9,6 +9,23 @@ using System.Resources; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link QueryNodeImpl} is the default implementation of the interface /// {@link QueryNode} http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QuotedFieldQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QuotedFieldQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QuotedFieldQueryNode.cs index c6afd43..d4d9d8f 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QuotedFieldQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/QuotedFieldQueryNode.cs @@ -3,6 +3,23 @@ using Lucene.Net.Support; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link QuotedFieldQueryNode} represents phrase query. Example: /// "life is great" http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/RangeQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/RangeQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/RangeQueryNode.cs index 803054e..697ab3d 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/RangeQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/RangeQueryNode.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This interface should be implemented by a {@link QueryNode} that represents /// some kind of range query. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/SlopQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/SlopQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/SlopQueryNode.cs index 6a4d9da..2edc767 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/SlopQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/SlopQueryNode.cs @@ -4,6 +4,23 @@ using Lucene.Net.QueryParsers.Flexible.Messages; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link SlopQueryNode} represents phrase query with a slop. /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TextableQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TextableQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TextableQueryNode.cs index 201b10a..aa4b802 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TextableQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TextableQueryNode.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// Interface for a node that has text as a {@link CharSequence} /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TokenizedPhraseQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TokenizedPhraseQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TokenizedPhraseQueryNode.cs index 3ccf7fc..e5531f7 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TokenizedPhraseQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/TokenizedPhraseQueryNode.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link TokenizedPhraseQueryNode} represents a node created by a code that /// tokenizes/lemmatizes/analyzes. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ValueQueryNode.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ValueQueryNode.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ValueQueryNode.cs index d4ff5a9..e1087eb 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ValueQueryNode.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Nodes/ValueQueryNode.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Nodes { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This interface should be implemented by {@link QueryNode} that holds an /// arbitrary value. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Parser/EscapeQuerySyntax.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Parser/EscapeQuerySyntax.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Parser/EscapeQuerySyntax.cs index 9b9cd5e..e29bf50 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Parser/EscapeQuerySyntax.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Parser/EscapeQuerySyntax.cs @@ -3,6 +3,23 @@ using System.Globalization; namespace Lucene.Net.QueryParsers.Flexible.Core.Parser { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A parser needs to implement {@link EscapeQuerySyntax} to allow the QueryNode /// to escape the queries, when the toQueryString method is called. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Parser/SyntaxParser.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Parser/SyntaxParser.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Parser/SyntaxParser.cs index bc8915f..0f1f778 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Parser/SyntaxParser.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Parser/SyntaxParser.cs @@ -2,6 +2,23 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Parser { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A parser needs to implement {@link SyntaxParser} interface /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Processors/NoChildOptimizationQueryNodeProcessor.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/NoChildOptimizationQueryNodeProcessor.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/NoChildOptimizationQueryNodeProcessor.cs index e84db65..c28728a 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/NoChildOptimizationQueryNodeProcessor.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/NoChildOptimizationQueryNodeProcessor.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Processors { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link NoChildOptimizationQueryNodeProcessor} removes every /// BooleanQueryNode, BoostQueryNode, TokenizedPhraseQueryNode or http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessor.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessor.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessor.cs index 7d2663d..2ed96f6 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessor.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessor.cs @@ -3,6 +3,23 @@ using Lucene.Net.QueryParsers.Flexible.Core.Nodes; namespace Lucene.Net.QueryParsers.Flexible.Core.Processors { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link QueryNodeProcessor} is an interface for classes that process a /// {@link QueryNode} tree. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs index fafb270..b41a07e 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorImpl.cs @@ -5,6 +5,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Processors { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + public abstract class QueryNodeProcessorImpl : IQueryNodeProcessor { private List childrenListPool = new List(); http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorPipeline.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorPipeline.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorPipeline.cs index 734fe92..3c6f548 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorPipeline.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/QueryNodeProcessorPipeline.cs @@ -6,6 +6,23 @@ using System.Linq; namespace Lucene.Net.QueryParsers.Flexible.Core.Processors { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + public class QueryNodeProcessorPipeline : IQueryNodeProcessor, IList { private List processors = new List(); http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Processors/RemoveDeletedQueryNodesProcessor.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/RemoveDeletedQueryNodesProcessor.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/RemoveDeletedQueryNodesProcessor.cs index 44ed0fe..79103e1 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Processors/RemoveDeletedQueryNodesProcessor.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Processors/RemoveDeletedQueryNodesProcessor.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Processors { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// A {@link QueryNodeProcessorPipeline} class removes every instance of /// {@link DeletedQueryNode} from a query node tree. If the resulting root node http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeError.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeError.cs b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeError.cs index 83661ee..a07c8ed 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeError.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeError.cs @@ -3,6 +3,23 @@ using System; namespace Lucene.Net.QueryParsers.Flexible.Core { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// Error class with NLS support /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeException.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeException.cs b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeException.cs index 5256f81..3178300 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeException.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeException.cs @@ -5,6 +5,23 @@ using System.Globalization; namespace Lucene.Net.QueryParsers.Flexible.Core { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This exception should be thrown if something wrong happens when dealing with /// {@link QueryNode}s. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeParseException.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeParseException.cs b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeParseException.cs index 25d47b8..cc88048 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeParseException.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/QueryNodeParseException.cs @@ -4,6 +4,23 @@ using System; namespace Lucene.Net.QueryParsers.Flexible.Core { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This should be thrown when an exception happens during the query parsing from /// string to the query node tree. http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/QueryParserHelper.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/QueryParserHelper.cs b/src/Lucene.Net.QueryParser/Flexible/Core/QueryParserHelper.cs index 11347ab..76f8cf6 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/QueryParserHelper.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/QueryParserHelper.cs @@ -7,6 +7,23 @@ using System; namespace Lucene.Net.QueryParsers.Flexible.Core { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// This class is a helper for the query parser framework, it does all the three /// query parser phrases at once: text parsing, query processing and query http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Util/QueryNodeOperation.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Util/QueryNodeOperation.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Util/QueryNodeOperation.cs index 2476398..dbc470e 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Util/QueryNodeOperation.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Util/QueryNodeOperation.cs @@ -3,6 +3,23 @@ using System.Collections.Generic; namespace Lucene.Net.QueryParsers.Flexible.Core.Util { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// Allow joining 2 QueryNode Trees, into one. /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Util/StringUtils.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Util/StringUtils.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Util/StringUtils.cs index 72ca406..6d58adf 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Util/StringUtils.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Util/StringUtils.cs @@ -1,5 +1,22 @@ namespace Lucene.Net.QueryParsers.Flexible.Core.Util { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// String manipulation routines /// http://git-wip-us.apache.org/repos/asf/lucenenet/blob/c5c54abe/src/Lucene.Net.QueryParser/Flexible/Core/Util/UnescapedCharSequence.cs ---------------------------------------------------------------------- diff --git a/src/Lucene.Net.QueryParser/Flexible/Core/Util/UnescapedCharSequence.cs b/src/Lucene.Net.QueryParser/Flexible/Core/Util/UnescapedCharSequence.cs index f90bca1..6b05a60 100644 --- a/src/Lucene.Net.QueryParser/Flexible/Core/Util/UnescapedCharSequence.cs +++ b/src/Lucene.Net.QueryParser/Flexible/Core/Util/UnescapedCharSequence.cs @@ -4,6 +4,23 @@ using System.Text; namespace Lucene.Net.QueryParsers.Flexible.Core.Util { + /* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /// /// CharsSequence with escaped chars information. ///