Permalink
Browse files

[LUCENENET-474] - Added patch to add license headers from files where…

… it was missing

[LUCENENET-467] - Fixed solutions in Contrib with recent changes to core assembly (Properties)

git-svn-id: https://svn.apache.org/repos/asf/incubator/lucene.net/trunk@1300340 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
ccurrens committed Mar 13, 2012
1 parent a4f3779 commit caf70210eb2f1c6d23fc446eda223f702112d890
Showing with 3,927 additions and 1,729 deletions.
  1. +21 −0 branding/logo/lucene-net-L.svg
  2. +21 −0 branding/logo/lucene-net-color.svg
  3. +21 −0 branding/logo/lucene-net-grayscale.svg
  4. +21 −0 branding/logo/lucene-net-reverse-color.svg
  5. +21 −0 branding/logo/lucene-net-reverse-grayscale.svg
  6. +21 −0 branding/logo/lucene-net-words.svg
  7. +21 −1 build/vs2010/test/Contrib.All.Test.sln
  8. +21 −1 build/vs2010/test/Contrib.Snowball.Test.sln
  9. +7 −7 src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs
  10. +23 −2 src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs
  11. +1 −0 src/contrib/Analyzers/Contrib.Analyzers.csproj
  12. +22 −1 src/contrib/Analyzers/El/GreekAnalyzer.cs
  13. +22 −1 src/contrib/Analyzers/El/GreekLowerCaseFilter.cs
  14. +23 −2 src/contrib/Analyzers/Fa/PersianAnalyzer.cs
  15. +22 −1 src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs
  16. +22 −1 src/contrib/Analyzers/Fa/PersianNormalizer.cs
  17. +23 −2 src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs
  18. +11 −11 src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs
  19. +2 −2 src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs
  20. +24 −3 src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs
  21. +23 −2 src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs
  22. +23 −2 src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs
  23. +24 −3 src/contrib/Analyzers/Position/PositionFilter.cs
  24. +25 −4 src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs
  25. +22 −1 src/contrib/Analyzers/Reverse/ReverseStringFilter.cs
  26. +5 −9 src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs
  27. +1 −3 src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs
  28. +5 −5 src/contrib/Analyzers/Shingle/ShingleFilter.cs
  29. +11 −11 src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs
  30. +23 −2 src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs
  31. +22 −1 src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs
  32. +22 −1 src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs
  33. +23 −2 src/contrib/Analyzers/Th/ThaiAnalyzer.cs
  34. +23 −2 src/contrib/Analyzers/Th/ThaiWordFilter.cs
  35. BIN src/contrib/Core/Analysis/Ext/Analysis.Ext.cs
  36. +2 −2 src/contrib/Core/Index/FieldEnumerator.cs
  37. +37 −16 src/contrib/Core/Index/SegmentsGenCommit.cs
  38. +1 −1 src/contrib/Core/Index/TermVectorEnumerator.cs
  39. +2 −2 src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
  40. +17 −17 src/contrib/FastVectorHighlighter/FieldQuery.cs
  41. +1 −1 src/contrib/FastVectorHighlighter/FieldTermStack.cs
  42. +4 −4 src/contrib/Highlighter/QueryTermExtractor.cs
  43. +2 −2 src/contrib/Highlighter/TokenSources.cs
  44. +5 −5 src/contrib/Queries/BooleanFilter.cs
  45. +1 −1 src/contrib/Queries/BoostingQuery.cs
  46. +5 −5 src/contrib/Queries/DuplicateFilter.cs
  47. +16 −15 src/contrib/Queries/FuzzyLikeThisQuery.cs
  48. +6 −6 src/contrib/Queries/Similar/MoreLikeThis.cs
  49. +2 −2 src/contrib/Queries/TermsFilter.cs
  50. +5 −5 src/contrib/Regex/RegexQuery.cs
  51. +6 −6 src/contrib/Regex/RegexTermEnum.cs
  52. +10 −7 src/contrib/Regex/SpanRegexQuery.cs
  53. +5 −5 src/contrib/Similarity/Similar/MoreLikeThis.cs
  54. +5 −5 src/contrib/SimpleFacetedSearch/FieldValuesBitSets.cs
  55. +1 −1 src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.cs
  56. +1 −1 src/contrib/Spatial/GeoHash/GeoHashDistanceFilter.cs
  57. +1 −1 src/contrib/Spatial/Tier/CartesianShapeFilter.cs
  58. +5 −5 src/contrib/Spatial/Tier/DistanceFieldComparatorSource.cs
  59. +1 −1 src/contrib/Spatial/Tier/DistanceFilter.cs
  60. +1 −1 src/contrib/Spatial/Tier/LatLongDistanceFilter.cs
  61. +2 −2 src/contrib/SpellChecker/Spell/LuceneDictionary.cs
  62. +4 −4 src/contrib/SpellChecker/Spell/SpellChecker.cs
  63. +2 −2 src/core/Index/CheckIndex.cs
  64. +2 −2 src/core/Index/DirectoryReader.cs
  65. +1 −1 src/core/Index/DocumentsWriter.cs
  66. +2 −2 src/core/Index/IndexCommit.cs
  67. +4 −4 src/core/Index/IndexFileDeleter.cs
  68. +16 −13 src/core/Index/IndexWriter.cs
  69. +7 −7 src/core/Index/ParallelReader.cs
  70. +10 −3 src/core/Index/Payload.cs
  71. +4 −4 src/core/Index/SnapshotDeletionPolicy.cs
  72. +21 −27 src/core/Index/Term.cs
  73. +2 −2 src/core/Index/TermBuffer.cs
  74. +1 −1 src/core/Search/Collector.cs
  75. +13 −13 src/core/Search/FieldCache.cs
  76. +16 −16 src/core/Search/FieldCacheImpl.cs
  77. +4 −4 src/core/Search/FuzzyQuery.cs
  78. +7 −7 src/core/Search/FuzzyTermEnum.cs
  79. +2 −2 src/core/Search/IndexSearcher.cs
  80. +5 −5 src/core/Search/MultiPhraseQuery.cs
  81. +12 −12 src/core/Search/MultiSearcher.cs
  82. +1 −1 src/core/Search/MultiTermQuery.cs
  83. +1 −1 src/core/Search/NumericRangeQuery.cs
  84. +2 −2 src/core/Search/Payloads/PayloadTermQuery.cs
  85. +5 −5 src/core/Search/PhraseQuery.cs
  86. +3 −3 src/core/Search/PrefixQuery.cs
  87. +2 −2 src/core/Search/PrefixTermEnum.cs
  88. +12 −23 src/core/Search/ScoreDoc.cs
  89. +7 −7 src/core/Search/Searchable.cs
  90. +1 −1 src/core/Search/Searcher.cs
  91. +5 −5 src/core/Search/Similarity.cs
  92. +2 −2 src/core/Search/Sort.cs
  93. +3 −3 src/core/Search/Spans/SpanTermQuery.cs
  94. +5 −5 src/core/Search/TermQuery.cs
  95. +5 −5 src/core/Search/TermRangeTermEnum.cs
  96. +6 −6 src/core/Search/WildcardQuery.cs
  97. +6 −6 src/core/Search/WildcardTermEnum.cs
  98. +23 −2 src/core/Support/AppSettings.cs
  99. +23 −2 src/core/Support/AttributeImplItem.cs
  100. +23 −2 src/core/Support/BitSetSupport.cs
  101. +23 −2 src/core/Support/BuildType.cs
  102. +23 −2 src/core/Support/CRC32.cs
  103. +23 −2 src/core/Support/Character.cs
  104. +23 −2 src/core/Support/CloseableThreadLocalProfiler.cs
  105. +23 −2 src/core/Support/CollectionsHelper.cs
  106. +23 −2 src/core/Support/Compare.cs
  107. +24 −3 src/core/Support/Cryptography.cs
  108. +23 −2 src/core/Support/Deflater.cs
  109. +23 −2 src/core/Support/Double.cs
  110. +23 −2 src/core/Support/EquatableList.cs
  111. +23 −2 src/core/Support/FileSupport.cs
  112. +23 −2 src/core/Support/GeneralKeyedCollection.cs
  113. +23 −2 src/core/Support/HashMap.cs
  114. +23 −2 src/core/Support/IThreadRunnable.cs
  115. +23 −2 src/core/Support/Inflater.cs
  116. +23 −2 src/core/Support/Number.cs
  117. +23 −2 src/core/Support/OS.cs
  118. +23 −2 src/core/Support/SharpZipLib.cs
  119. +23 −2 src/core/Support/Single.cs
  120. +23 −2 src/core/Support/TextSupport.cs
  121. +23 −2 src/core/Support/ThreadClass.cs
  122. +23 −2 src/core/Support/WeakDictionary.cs
  123. +23 −2 src/core/Support/WeakHashTable.cs
  124. +22 −1 src/core/Support/WeakReference.cs
  125. +22 −1 src/core/Util/IdentityDictionary.cs
  126. +22 −1 test/contrib/Analyzers/Br/TestBrazilianStemmer.cs
  127. +23 −2 test/contrib/Analyzers/Cjk/TestCJKTokenizer.cs
  128. +22 −1 test/contrib/Analyzers/Cn/TestChineseTokenizer.cs
  129. +22 −1 test/contrib/Analyzers/Compound/TestCompoundWordTokenFilter.cs
  130. +2 −1 test/contrib/Analyzers/Contrib.Analyzers.Test.csproj
  131. +22 −1 test/contrib/Analyzers/Cz/TestCzechAnalyzer.cs
  132. +22 −1 test/contrib/Analyzers/De/TestGermanStemFilter.cs
  133. +22 −1 test/contrib/Analyzers/El/GreekAnalyzerTest.cs
  134. +22 −1 test/contrib/Analyzers/Fa/TestPersianAnalyzer.cs
  135. +22 −1 test/contrib/Analyzers/Fa/TestPersianNormalizationFilter.cs
  136. +23 −2 test/contrib/Analyzers/Fr/TestElision.cs
  137. +23 −2 test/contrib/Analyzers/Fr/TestFrenchAnalyzer.cs
  138. +23 −2 test/contrib/Analyzers/Miscellaneous/PatternAnalyzerTest.cs
  139. +22 −1 test/contrib/Analyzers/Miscellaneous/TestEmptyTokenStream.cs
  140. +22 −1 test/contrib/Analyzers/Miscellaneous/TestSingleTokenTokenFilter.cs
  141. +23 −2 test/contrib/Analyzers/NGram/TestEdgeNGramTokenFilter.cs
  142. +23 −2 test/contrib/Analyzers/NGram/TestEdgeNGramTokenizer.cs
  143. +23 −2 test/contrib/Analyzers/Nl/TestDutchStemmer.cs
  144. +26 −5 test/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilterTest.cs
  145. +26 −5 test/contrib/Analyzers/Payloads/NumericPayloadTokenFilterTest.cs
  146. +23 −2 test/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilterTest.cs
  147. +25 −4 test/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilterTest.cs
  148. +23 −2 test/contrib/Analyzers/Position/PositionFilterTest.cs
  149. +23 −2 test/contrib/Analyzers/Query/QueryAutoStopWordAnalyzerTest.cs
  150. +23 −2 test/contrib/Analyzers/Reverse/TestReverseStringFilter.cs
  151. +27 −7 test/contrib/Analyzers/Ru/TestRussianAnalyzer.cs
  152. +23 −2 test/contrib/Analyzers/Ru/TestRussianStem.cs
  153. +0 −1 test/contrib/Analyzers/Ru/resUTF8.htm
  154. +1 −0 test/contrib/Analyzers/Ru/resUTF8.txt
  155. +2 −2 test/contrib/Analyzers/Shingle/ShingleAnalyzerWrapperTest.cs
  156. +4 −4 test/contrib/Analyzers/Shingle/ShingleFilterTest.cs
  157. +9 −9 test/contrib/Analyzers/Shingle/TestShingleMatrixFilter.cs
  158. +22 −1 test/contrib/Analyzers/Sinks/DateRecognizerSinkTokenizerTest.cs
  159. +23 −2 test/contrib/Analyzers/Sinks/TokenRangeSinkTokenizerTest.cs
  160. +23 −2 test/contrib/Analyzers/Sinks/TokenTypeSinkTokenizerTest.cs
  161. +22 −1 test/contrib/Analyzers/Th/TestThaiAnalyzer.cs
  162. BIN test/contrib/Core/Analysis/Ext/Analysis.Ext.Test.cs
  163. +7 −7 test/contrib/Core/Index/SegmentsGenCommitTest.cs
  164. +1 −1 test/contrib/Core/Util/Cache/SegmentCacheTest.cs
  165. +3 −3 test/contrib/FastVectorHighlighter/AbstractTestCase.cs
  166. +1 −1 test/contrib/FastVectorHighlighter/IndexTimeSynonymTest.cs
  167. +1,024 −1,024 test/contrib/Highlighter/HighlighterTest.cs
  168. +7 −7 test/contrib/Queries/DuplicateFilterTest.cs
  169. +6 −6 test/contrib/Queries/FuzzyLikeThisQueryTest.cs
  170. +5 −5 test/contrib/Queries/Similar/TestMoreLikeThis.cs
  171. +1 −1 test/contrib/Regex/TestRegexQuery.cs
  172. +23 −2 test/contrib/Regex/TestSpanRegexQuery.cs
  173. +3 −3 test/contrib/SimpleFacetedSearch/TestSimpleFacetedSearch.cs
  174. +6 −6 test/contrib/Snowball/Analysis/Snowball/TestSnowball.cs
  175. +4 −4 test/contrib/Spatial/TestCartesian.cs
  176. +5 −5 test/contrib/SpellChecker/Test/TestSpellChecker.cs
  177. +20 −20 test/core/Index/TestAddIndexesNoOptimize.cs
  178. +3 −3 test/core/Index/TestBackwardsCompatibility.cs
  179. +1 −1 test/core/Index/TestCrash.cs
  180. +1 −1 test/core/Index/TestDeletionPolicy.cs
  181. +2 −2 test/core/Index/TestFilterIndexReader.cs
  182. +26 −5 test/core/Index/TestIndexCommit.cs
  183. +14 −14 test/core/Index/TestIndexReader.cs
  184. +7 −7 test/core/Index/TestIndexWriter.cs
  185. +1 −1 test/core/Index/TestIndexWriterMergePolicy.cs
  186. +1 −1 test/core/Index/TestMultiLevelSkipList.cs
  187. +2 −2 test/core/Index/TestPayloads.cs
  188. +2 −2 test/core/Index/TestSegmentReader.cs
  189. +8 −8 test/core/Index/TestSegmentTermEnum.cs
  190. +2 −2 test/core/Index/TestStressIndexing2.cs
  191. +1 −1 test/core/Index/TestThreadedOptimize.cs
  192. +10 −10 test/core/QueryParser/TestQueryParser.cs
  193. +1 −1 test/core/Search/CheckHits.cs
  194. +5 −2 test/core/Search/JustCompileSearch.cs
  195. +1 −1 test/core/Search/QueryUtils.cs
  196. +1 −1 test/core/Search/TestBoolean2.cs
  197. +2 −2 test/core/Search/TestMultiPhraseQuery.cs
  198. +1 −1 test/core/Search/TestNumericRangeQuery32.cs
  199. +1 −1 test/core/Search/TestPhrasePrefixQuery.cs
  200. +1 −1 test/core/Search/TestScorerPerf.cs
  201. +2 −2 test/core/Search/TestTermVectors.cs
  202. +22 −1 test/core/Store/TestMultiMMap.cs
  203. +1 −1 test/core/Store/TestRAMDirectory.cs
  204. +22 −1 test/core/Support/BigObject.cs
  205. +22 −1 test/core/Support/CollisionTester.cs
  206. +22 −1 test/core/Support/SmallObject.cs
  207. +22 −1 test/core/Support/TestCase.cs
  208. +22 −1 test/core/Support/TestCloseableThreadLocal.cs
  209. +22 −1 test/core/Support/TestEquatableList.cs
  210. +22 −1 test/core/Support/TestHashMap.cs
  211. +22 −1 test/core/Support/TestIDisposable.cs
  212. +22 −1 test/core/Support/TestLRUCache.cs
  213. +22 −1 test/core/Support/TestOSClass.cs
  214. +22 −1 test/core/Support/TestOldPatches.cs
  215. +22 −1 test/core/Support/TestSerialization.cs
  216. +22 −1 test/core/Support/TestThreadClass.cs
  217. +22 −1 test/core/Support/TestWeakHashTable.cs
  218. +22 −1 test/core/Support/TestWeakHashTableBehavior.cs
  219. +22 −1 test/core/Support/TestWeakHashTableMultiThreadAccess.cs
  220. +22 −1 test/core/Support/TestWeakHashTablePerformance.cs
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Color" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Grayscale" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Reverse_Color" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Reverse_Grayscale" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
@@ -1,4 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+ 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.
+
+-->
+
<!-- Generator: Adobe Illustrator 15.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
@@ -1,6 +1,26 @@
-
+
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
+#
+#
+# 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.
+#
+#
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Core", "..\..\..\src\contrib\Core\Contrib.Core.csproj", "{FEF899EB-610C-4D3C-A556-A01F56F4AFE0}"
@@ -1,6 +1,26 @@
-
+
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
+#
+#
+# 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.
+#
+#
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lucene.Net", "..\..\..\src\core\Lucene.Net.csproj", "{5D4AD9BE-1FFB-41AB-9943-25737971BF57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Contrib.Snowball", "..\..\..\src\contrib\Snowball\Contrib.Snowball.csproj", "{8F9D7A92-F122-413E-9D8D-027E4ECD327C}"
@@ -135,11 +135,11 @@ private void setToken(Token token)
{
ClearAttributes();
termAtt.SetTermBuffer(token.TermBuffer(), 0, token.TermLength());
- flagsAtt.SetFlags(token.GetFlags());
+ flagsAtt.Flags = token.Flags;
typeAtt.SetType(token.Type());
offsetAtt.SetOffset(token.StartOffset(), token.EndOffset());
- posIncAtt.SetPositionIncrement(token.GetPositionIncrement());
- payloadAtt.SetPayload(token.GetPayload());
+ posIncAtt.PositionIncrement = token.PositionIncrement;
+ payloadAtt.Payload = token.Payload;
}
public sealed override bool IncrementToken()
@@ -157,10 +157,10 @@ public sealed override bool IncrementToken()
wrapper.SetTermBuffer(termAtt.TermBuffer(), 0, termAtt.TermLength());
wrapper.SetStartOffset(offsetAtt.StartOffset());
wrapper.SetEndOffset(offsetAtt.EndOffset());
- wrapper.SetFlags(flagsAtt.GetFlags());
+ wrapper.Flags = flagsAtt.Flags;
wrapper.SetType(typeAtt.Type());
- wrapper.SetPositionIncrement(posIncAtt.GetPositionIncrement());
- wrapper.SetPayload(payloadAtt.GetPayload());
+ wrapper.PositionIncrement = posIncAtt.PositionIncrement;
+ wrapper.Payload = payloadAtt.Payload;
Decompose(wrapper);
@@ -202,7 +202,7 @@ protected static char[] MakeLowerCaseCopy(char[] buffer)
{
int newStart = prototype.StartOffset() + offset;
Token t = prototype.Clone(prototype.TermBuffer(), offset, length, newStart, newStart + length);
- t.SetPositionIncrement(0);
+ t.PositionIncrement = 0;
return t;
}
@@ -1,4 +1,25 @@
-using System;
+/*
+ *
+ * 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.
+ *
+*/
+
+using System;
using System.Collections.Generic;
namespace Lucene.Net.Analysis.Compound
@@ -117,4 +138,4 @@ protected override void DecomposeInternal(Token token)
}
}
}
-}
+}
@@ -58,6 +58,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>..\..\..\build\bin\contrib\Analyzers\Release\Lucene.Net.Contrib.Analyzers.XML</DocumentationFile>
<NoWarn>618</NoWarn>
+ <DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
@@ -1,4 +1,25 @@
-using System;
+/*
+ *
+ * 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.
+ *
+*/
+
+using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -1,4 +1,25 @@
-using System;
+/*
+ *
+ * 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.
+ *
+*/
+
+using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -1,4 +1,25 @@
-using System;
+/*
+ *
+ * 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.
+ *
+*/
+
+using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@@ -212,4 +233,4 @@ public override TokenStream ReusableTokenStream(String fieldName, TextReader rea
return streams.result;
}
}
-}
+}
Oops, something went wrong.

0 comments on commit caf7021

Please sign in to comment.