You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by cc...@apache.org on 2012/03/13 21:32:49 UTC
svn commit: r1300340 [1/6] - in /incubator/lucene.net/trunk: branding/logo/
build/vs2010/test/ src/contrib/Analyzers/ src/contrib/Analyzers/Compound/
src/contrib/Analyzers/El/ src/contrib/Analyzers/Fa/
src/contrib/Analyzers/Miscellaneous/ src/contrib/A...
Author: ccurrens
Date: Tue Mar 13 20:32:43 2012
New Revision: 1300340
URL: http://svn.apache.org/viewvc?rev=1300340&view=rev
Log:
[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)
Added:
incubator/lucene.net/trunk/test/contrib/Analyzers/Ru/resUTF8.txt
Removed:
incubator/lucene.net/trunk/test/contrib/Analyzers/Ru/resUTF8.htm
Modified:
incubator/lucene.net/trunk/branding/logo/lucene-net-L.svg
incubator/lucene.net/trunk/branding/logo/lucene-net-color.svg
incubator/lucene.net/trunk/branding/logo/lucene-net-grayscale.svg
incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-color.svg
incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-grayscale.svg
incubator/lucene.net/trunk/branding/logo/lucene-net-words.svg
incubator/lucene.net/trunk/build/vs2010/test/Contrib.All.Test.sln
incubator/lucene.net/trunk/build/vs2010/test/Contrib.Snowball.Test.sln
incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Contrib.Analyzers.csproj
incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekAnalyzer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekLowerCaseFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianAnalyzer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Position/PositionFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Reverse/ReverseStringFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiAnalyzer.cs
incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiWordFilter.cs
incubator/lucene.net/trunk/src/contrib/Core/Analysis/Ext/Analysis.Ext.cs
incubator/lucene.net/trunk/src/contrib/Core/Index/FieldEnumerator.cs
incubator/lucene.net/trunk/src/contrib/Core/Index/SegmentsGenCommit.cs
incubator/lucene.net/trunk/src/contrib/Core/Index/TermVectorEnumerator.cs
incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldQuery.cs
incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldTermStack.cs
incubator/lucene.net/trunk/src/contrib/Highlighter/QueryTermExtractor.cs
incubator/lucene.net/trunk/src/contrib/Highlighter/TokenSources.cs
incubator/lucene.net/trunk/src/contrib/Queries/BooleanFilter.cs
incubator/lucene.net/trunk/src/contrib/Queries/BoostingQuery.cs
incubator/lucene.net/trunk/src/contrib/Queries/DuplicateFilter.cs
incubator/lucene.net/trunk/src/contrib/Queries/FuzzyLikeThisQuery.cs
incubator/lucene.net/trunk/src/contrib/Queries/Similar/MoreLikeThis.cs
incubator/lucene.net/trunk/src/contrib/Queries/TermsFilter.cs
incubator/lucene.net/trunk/src/contrib/Regex/RegexQuery.cs
incubator/lucene.net/trunk/src/contrib/Regex/RegexTermEnum.cs
incubator/lucene.net/trunk/src/contrib/Regex/SpanRegexQuery.cs
incubator/lucene.net/trunk/src/contrib/Similarity/Similar/MoreLikeThis.cs
incubator/lucene.net/trunk/src/contrib/SimpleFacetedSearch/FieldValuesBitSets.cs
incubator/lucene.net/trunk/src/contrib/SimpleFacetedSearch/SimpleFacetedSearch.cs
incubator/lucene.net/trunk/src/contrib/Spatial/GeoHash/GeoHashDistanceFilter.cs
incubator/lucene.net/trunk/src/contrib/Spatial/Tier/CartesianShapeFilter.cs
incubator/lucene.net/trunk/src/contrib/Spatial/Tier/DistanceFieldComparatorSource.cs
incubator/lucene.net/trunk/src/contrib/Spatial/Tier/DistanceFilter.cs
incubator/lucene.net/trunk/src/contrib/Spatial/Tier/LatLongDistanceFilter.cs
incubator/lucene.net/trunk/src/contrib/SpellChecker/Spell/LuceneDictionary.cs
incubator/lucene.net/trunk/src/contrib/SpellChecker/Spell/SpellChecker.cs
incubator/lucene.net/trunk/src/core/Index/CheckIndex.cs
incubator/lucene.net/trunk/src/core/Index/DirectoryReader.cs
incubator/lucene.net/trunk/src/core/Index/DocumentsWriter.cs
incubator/lucene.net/trunk/src/core/Index/IndexCommit.cs
incubator/lucene.net/trunk/src/core/Index/IndexFileDeleter.cs
incubator/lucene.net/trunk/src/core/Index/IndexWriter.cs
incubator/lucene.net/trunk/src/core/Index/ParallelReader.cs
incubator/lucene.net/trunk/src/core/Index/Payload.cs
incubator/lucene.net/trunk/src/core/Index/SnapshotDeletionPolicy.cs
incubator/lucene.net/trunk/src/core/Index/Term.cs
incubator/lucene.net/trunk/src/core/Index/TermBuffer.cs
incubator/lucene.net/trunk/src/core/Search/Collector.cs
incubator/lucene.net/trunk/src/core/Search/FieldCache.cs
incubator/lucene.net/trunk/src/core/Search/FieldCacheImpl.cs
incubator/lucene.net/trunk/src/core/Search/FuzzyQuery.cs
incubator/lucene.net/trunk/src/core/Search/FuzzyTermEnum.cs
incubator/lucene.net/trunk/src/core/Search/IndexSearcher.cs
incubator/lucene.net/trunk/src/core/Search/MultiPhraseQuery.cs
incubator/lucene.net/trunk/src/core/Search/MultiSearcher.cs
incubator/lucene.net/trunk/src/core/Search/MultiTermQuery.cs
incubator/lucene.net/trunk/src/core/Search/NumericRangeQuery.cs
incubator/lucene.net/trunk/src/core/Search/Payloads/PayloadTermQuery.cs
incubator/lucene.net/trunk/src/core/Search/PhraseQuery.cs
incubator/lucene.net/trunk/src/core/Search/PrefixQuery.cs
incubator/lucene.net/trunk/src/core/Search/PrefixTermEnum.cs
incubator/lucene.net/trunk/src/core/Search/ScoreDoc.cs
incubator/lucene.net/trunk/src/core/Search/Searchable.cs
incubator/lucene.net/trunk/src/core/Search/Searcher.cs
incubator/lucene.net/trunk/src/core/Search/Similarity.cs
incubator/lucene.net/trunk/src/core/Search/Sort.cs
incubator/lucene.net/trunk/src/core/Search/Spans/SpanTermQuery.cs
incubator/lucene.net/trunk/src/core/Search/TermQuery.cs
incubator/lucene.net/trunk/src/core/Search/TermRangeTermEnum.cs
incubator/lucene.net/trunk/src/core/Search/WildcardQuery.cs
incubator/lucene.net/trunk/src/core/Search/WildcardTermEnum.cs
incubator/lucene.net/trunk/src/core/Support/AppSettings.cs
incubator/lucene.net/trunk/src/core/Support/AttributeImplItem.cs
incubator/lucene.net/trunk/src/core/Support/BitSetSupport.cs
incubator/lucene.net/trunk/src/core/Support/BuildType.cs
incubator/lucene.net/trunk/src/core/Support/CRC32.cs
incubator/lucene.net/trunk/src/core/Support/Character.cs
incubator/lucene.net/trunk/src/core/Support/CloseableThreadLocalProfiler.cs
incubator/lucene.net/trunk/src/core/Support/CollectionsHelper.cs
incubator/lucene.net/trunk/src/core/Support/Compare.cs
incubator/lucene.net/trunk/src/core/Support/Cryptography.cs
incubator/lucene.net/trunk/src/core/Support/Deflater.cs
incubator/lucene.net/trunk/src/core/Support/Double.cs
incubator/lucene.net/trunk/src/core/Support/EquatableList.cs
incubator/lucene.net/trunk/src/core/Support/FileSupport.cs
incubator/lucene.net/trunk/src/core/Support/GeneralKeyedCollection.cs
incubator/lucene.net/trunk/src/core/Support/HashMap.cs
incubator/lucene.net/trunk/src/core/Support/IThreadRunnable.cs
incubator/lucene.net/trunk/src/core/Support/Inflater.cs
incubator/lucene.net/trunk/src/core/Support/Number.cs
incubator/lucene.net/trunk/src/core/Support/OS.cs
incubator/lucene.net/trunk/src/core/Support/SharpZipLib.cs
incubator/lucene.net/trunk/src/core/Support/Single.cs
incubator/lucene.net/trunk/src/core/Support/TextSupport.cs
incubator/lucene.net/trunk/src/core/Support/ThreadClass.cs
incubator/lucene.net/trunk/src/core/Support/WeakDictionary.cs
incubator/lucene.net/trunk/src/core/Support/WeakHashTable.cs
incubator/lucene.net/trunk/src/core/Support/WeakReference.cs
incubator/lucene.net/trunk/src/core/Util/IdentityDictionary.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Br/TestBrazilianStemmer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Cjk/TestCJKTokenizer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Cn/TestChineseTokenizer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Compound/TestCompoundWordTokenFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Contrib.Analyzers.Test.csproj
incubator/lucene.net/trunk/test/contrib/Analyzers/Cz/TestCzechAnalyzer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/De/TestGermanStemFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/El/GreekAnalyzerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Fa/TestPersianAnalyzer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Fa/TestPersianNormalizationFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Fr/TestElision.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Fr/TestFrenchAnalyzer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Miscellaneous/PatternAnalyzerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Miscellaneous/TestEmptyTokenStream.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Miscellaneous/TestSingleTokenTokenFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/NGram/TestEdgeNGramTokenFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/NGram/TestEdgeNGramTokenizer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Nl/TestDutchStemmer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Payloads/NumericPayloadTokenFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Position/PositionFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Query/QueryAutoStopWordAnalyzerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Reverse/TestReverseStringFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Ru/TestRussianAnalyzer.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Ru/TestRussianStem.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Shingle/ShingleAnalyzerWrapperTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Shingle/ShingleFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Shingle/TestShingleMatrixFilter.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Sinks/DateRecognizerSinkTokenizerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Sinks/TokenRangeSinkTokenizerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Sinks/TokenTypeSinkTokenizerTest.cs
incubator/lucene.net/trunk/test/contrib/Analyzers/Th/TestThaiAnalyzer.cs
incubator/lucene.net/trunk/test/contrib/Core/Analysis/Ext/Analysis.Ext.Test.cs
incubator/lucene.net/trunk/test/contrib/Core/Index/SegmentsGenCommitTest.cs
incubator/lucene.net/trunk/test/contrib/Core/Util/Cache/SegmentCacheTest.cs
incubator/lucene.net/trunk/test/contrib/FastVectorHighlighter/AbstractTestCase.cs
incubator/lucene.net/trunk/test/contrib/FastVectorHighlighter/IndexTimeSynonymTest.cs
incubator/lucene.net/trunk/test/contrib/Highlighter/HighlighterTest.cs
incubator/lucene.net/trunk/test/contrib/Queries/DuplicateFilterTest.cs
incubator/lucene.net/trunk/test/contrib/Queries/FuzzyLikeThisQueryTest.cs
incubator/lucene.net/trunk/test/contrib/Queries/Similar/TestMoreLikeThis.cs
incubator/lucene.net/trunk/test/contrib/Regex/TestRegexQuery.cs
incubator/lucene.net/trunk/test/contrib/Regex/TestSpanRegexQuery.cs
incubator/lucene.net/trunk/test/contrib/SimpleFacetedSearch/TestSimpleFacetedSearch.cs
incubator/lucene.net/trunk/test/contrib/Snowball/Analysis/Snowball/TestSnowball.cs
incubator/lucene.net/trunk/test/contrib/Spatial/TestCartesian.cs
incubator/lucene.net/trunk/test/contrib/SpellChecker/Test/TestSpellChecker.cs
incubator/lucene.net/trunk/test/core/Index/TestAddIndexesNoOptimize.cs
incubator/lucene.net/trunk/test/core/Index/TestBackwardsCompatibility.cs
incubator/lucene.net/trunk/test/core/Index/TestCrash.cs
incubator/lucene.net/trunk/test/core/Index/TestDeletionPolicy.cs
incubator/lucene.net/trunk/test/core/Index/TestFilterIndexReader.cs
incubator/lucene.net/trunk/test/core/Index/TestIndexCommit.cs
incubator/lucene.net/trunk/test/core/Index/TestIndexReader.cs
incubator/lucene.net/trunk/test/core/Index/TestIndexWriter.cs
incubator/lucene.net/trunk/test/core/Index/TestIndexWriterMergePolicy.cs
incubator/lucene.net/trunk/test/core/Index/TestMultiLevelSkipList.cs
incubator/lucene.net/trunk/test/core/Index/TestPayloads.cs
incubator/lucene.net/trunk/test/core/Index/TestSegmentReader.cs
incubator/lucene.net/trunk/test/core/Index/TestSegmentTermEnum.cs
incubator/lucene.net/trunk/test/core/Index/TestStressIndexing2.cs
incubator/lucene.net/trunk/test/core/Index/TestThreadedOptimize.cs
incubator/lucene.net/trunk/test/core/QueryParser/TestQueryParser.cs
incubator/lucene.net/trunk/test/core/Search/CheckHits.cs
incubator/lucene.net/trunk/test/core/Search/JustCompileSearch.cs
incubator/lucene.net/trunk/test/core/Search/QueryUtils.cs
incubator/lucene.net/trunk/test/core/Search/TestBoolean2.cs
incubator/lucene.net/trunk/test/core/Search/TestMultiPhraseQuery.cs
incubator/lucene.net/trunk/test/core/Search/TestNumericRangeQuery32.cs
incubator/lucene.net/trunk/test/core/Search/TestPhrasePrefixQuery.cs
incubator/lucene.net/trunk/test/core/Search/TestScorerPerf.cs
incubator/lucene.net/trunk/test/core/Search/TestTermVectors.cs
incubator/lucene.net/trunk/test/core/Store/TestMultiMMap.cs
incubator/lucene.net/trunk/test/core/Store/TestRAMDirectory.cs
incubator/lucene.net/trunk/test/core/Support/BigObject.cs
incubator/lucene.net/trunk/test/core/Support/CollisionTester.cs
incubator/lucene.net/trunk/test/core/Support/SmallObject.cs
incubator/lucene.net/trunk/test/core/Support/TestCase.cs
incubator/lucene.net/trunk/test/core/Support/TestCloseableThreadLocal.cs
incubator/lucene.net/trunk/test/core/Support/TestEquatableList.cs
incubator/lucene.net/trunk/test/core/Support/TestHashMap.cs
incubator/lucene.net/trunk/test/core/Support/TestIDisposable.cs
incubator/lucene.net/trunk/test/core/Support/TestLRUCache.cs
incubator/lucene.net/trunk/test/core/Support/TestOSClass.cs
incubator/lucene.net/trunk/test/core/Support/TestOldPatches.cs
incubator/lucene.net/trunk/test/core/Support/TestSerialization.cs
incubator/lucene.net/trunk/test/core/Support/TestThreadClass.cs
incubator/lucene.net/trunk/test/core/Support/TestWeakHashTable.cs
incubator/lucene.net/trunk/test/core/Support/TestWeakHashTableBehavior.cs
incubator/lucene.net/trunk/test/core/Support/TestWeakHashTableMultiThreadAccess.cs
incubator/lucene.net/trunk/test/core/Support/TestWeakHashTablePerformance.cs
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-L.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-L.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-L.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-L.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-color.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-color.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-color.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-color.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-grayscale.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-grayscale.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-grayscale.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-grayscale.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-color.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-color.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-color.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-color.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-grayscale.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-grayscale.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-grayscale.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-reverse-grayscale.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/branding/logo/lucene-net-words.svg
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/branding/logo/lucene-net-words.svg?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/branding/logo/lucene-net-words.svg (original)
+++ incubator/lucene.net/trunk/branding/logo/lucene-net-words.svg Tue Mar 13 20:32:43 2012
@@ -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"
Modified: incubator/lucene.net/trunk/build/vs2010/test/Contrib.All.Test.sln
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/vs2010/test/Contrib.All.Test.sln?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/vs2010/test/Contrib.All.Test.sln (original)
+++ incubator/lucene.net/trunk/build/vs2010/test/Contrib.All.Test.sln Tue Mar 13 20:32:43 2012
@@ -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}"
Modified: incubator/lucene.net/trunk/build/vs2010/test/Contrib.Snowball.Test.sln
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/build/vs2010/test/Contrib.Snowball.Test.sln?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/build/vs2010/test/Contrib.Snowball.Test.sln (original)
+++ incubator/lucene.net/trunk/build/vs2010/test/Contrib.Snowball.Test.sln Tue Mar 13 20:32:43 2012
@@ -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}"
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/CompoundWordTokenFilterBase.cs Tue Mar 13 20:32:43 2012
@@ -135,11 +135,11 @@ namespace Lucene.Net.Analysis.Compound
{
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 @@ namespace Lucene.Net.Analysis.Compound
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 @@ namespace Lucene.Net.Analysis.Compound
{
int newStart = prototype.StartOffset() + offset;
Token t = prototype.Clone(prototype.TermBuffer(), offset, length, newStart, newStart + length);
- t.SetPositionIncrement(0);
+ t.PositionIncrement = 0;
return t;
}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Compound/DictionaryCompoundWordTokenFilter.cs Tue Mar 13 20:32:43 2012
@@ -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 @@ namespace Lucene.Net.Analysis.Compound
}
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Contrib.Analyzers.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Contrib.Analyzers.csproj?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Contrib.Analyzers.csproj (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Contrib.Analyzers.csproj Tue Mar 13 20:32:43 2012
@@ -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>
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekAnalyzer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekAnalyzer.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekLowerCaseFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekLowerCaseFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekLowerCaseFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/El/GreekLowerCaseFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianAnalyzer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianAnalyzer.cs Tue Mar 13 20:32:43 2012
@@ -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 @@ namespace Lucene.Net.Analyzers.Fa
return streams.result;
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizationFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Fa/PersianNormalizer.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PatternAnalyzer.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -517,4 +538,4 @@ namespace Lucene.Net.Analyzers.Miscellan
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Miscellaneous/PrefixAwareTokenStream.cs Tue Mar 13 20:32:43 2012
@@ -93,10 +93,10 @@ namespace Lucene.Net.Analyzers.Miscellan
{
_previousPrefixToken.Reinit(nextToken);
// Make it a deep copy
- Payload p = _previousPrefixToken.GetPayload();
+ Payload p = _previousPrefixToken.Payload;
if (p != null)
{
- _previousPrefixToken.SetPayload((Payload) p.Clone());
+ _previousPrefixToken.Payload = (Payload) p.Clone();
}
SetCurrentToken(nextToken);
return true;
@@ -119,22 +119,22 @@ namespace Lucene.Net.Analyzers.Miscellan
if (token == null) return;
ClearAttributes();
_termAtt.SetTermBuffer(token.TermBuffer(), 0, token.TermLength());
- _posIncrAtt.SetPositionIncrement(token.GetPositionIncrement());
- _flagsAtt.SetFlags(token.GetFlags());
+ _posIncrAtt.PositionIncrement = token.PositionIncrement;
+ _flagsAtt.Flags =token.Flags;
_offsetAtt.SetOffset(token.StartOffset(), token.EndOffset());
_typeAtt.SetType(token.Type());
- _payloadAtt.SetPayload(token.GetPayload());
+ _payloadAtt.Payload = token.Payload;
}
private Token GetNextPrefixInputToken(Token token)
{
if (!Prefix.IncrementToken()) return null;
token.SetTermBuffer(_pTermAtt.TermBuffer(), 0, _pTermAtt.TermLength());
- token.SetPositionIncrement(_pPosIncrAtt.GetPositionIncrement());
- token.SetFlags(_pFlagsAtt.GetFlags());
+ token.PositionIncrement = _pPosIncrAtt.PositionIncrement;
+ token.Flags = _pFlagsAtt.Flags;
token.SetOffset(_pOffsetAtt.StartOffset(), _pOffsetAtt.EndOffset());
token.SetType(_pTypeAtt.Type());
- token.SetPayload(_pPayloadAtt.GetPayload());
+ token.Payload = _pPayloadAtt.Payload;
return token;
}
@@ -142,11 +142,11 @@ namespace Lucene.Net.Analyzers.Miscellan
{
if (!Suffix.IncrementToken()) return null;
token.SetTermBuffer(_termAtt.TermBuffer(), 0, _termAtt.TermLength());
- token.SetPositionIncrement(_posIncrAtt.GetPositionIncrement());
- token.SetFlags(_flagsAtt.GetFlags());
+ token.PositionIncrement = _posIncrAtt.PositionIncrement;
+ token.Flags = _flagsAtt.Flags;
token.SetOffset(_offsetAtt.StartOffset(), _offsetAtt.EndOffset());
token.SetType(_typeAtt.Type());
- token.SetPayload(_payloadAtt.GetPayload());
+ token.Payload = _payloadAtt.Payload;
return token;
}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/DelimitedPayloadTokenFilter.cs Tue Mar 13 20:32:43 2012
@@ -77,7 +77,7 @@ namespace Lucene.Net.Analyzers.Payloads
if (buffer[i] == delimiter)
{
termAtt.SetTermBuffer(buffer, 0, i);
- payAtt.SetPayload(encoder.Encode(buffer, i + 1, (length - (i + 1))));
+ payAtt.Payload = encoder.Encode(buffer, i + 1, (length - (i + 1)));
seen = true;
break;//at this point, we know the whole piece, so we can exit. If we don't see the delimiter, then the termAtt is the same
}
@@ -85,7 +85,7 @@ namespace Lucene.Net.Analyzers.Payloads
if (seen == false)
{
//no delimiter
- payAtt.SetPayload(null);
+ payAtt.Payload = null;
}
result = true;
}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/NumericPayloadTokenFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -34,7 +55,7 @@ namespace Lucene.Net.Analyzers.Payloads
if (input.IncrementToken())
{
if (typeAtt.Type().Equals(typeMatch))
- payloadAtt.SetPayload(thePayload);
+ payloadAtt.Payload = thePayload;
return true;
}
else
@@ -43,4 +64,4 @@ namespace Lucene.Net.Analyzers.Payloads
}
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TokenOffsetPayloadTokenFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -33,7 +54,7 @@ namespace Lucene.Net.Analyzers.Payloads
PayloadHelper.EncodeInt(offsetAtt.StartOffset(), data, 0);
PayloadHelper.EncodeInt(offsetAtt.EndOffset(), data, 4);
Payload payload = new Payload(data);
- payAtt.SetPayload(payload);
+ payAtt.Payload = payload;
return true;
}
else
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Payloads/TypeAsPayloadTokenFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -31,7 +52,7 @@ namespace Lucene.Net.Analyzers.Payloads
String type = typeAtt.Type();
if (type != null && type.Equals("") == false)
{
- payloadAtt.SetPayload(new Payload(Encoding.UTF8.GetBytes(type)));
+ payloadAtt.Payload = new Payload(Encoding.UTF8.GetBytes(type));
}
return true;
}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Position/PositionFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Position/PositionFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Position/PositionFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Position/PositionFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -53,7 +74,7 @@ namespace Lucene.Net.Analysis.Position
{
if (firstTokenPositioned)
{
- posIncrAtt.SetPositionIncrement(positionIncrement);
+ posIncrAtt.PositionIncrement = positionIncrement;
}
else
{
@@ -73,4 +94,4 @@ namespace Lucene.Net.Analysis.Position
firstTokenPositioned = false;
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Query/QueryAutoStopWordAnalyzer.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -112,7 +133,7 @@ public class QueryAutoStopWordAnalyzer :
*/
public int AddStopWords(IndexReader reader, String fieldName, float maxPercentDocs)
{
- return AddStopWords(reader, fieldName, (int) (reader.NumDocs() * maxPercentDocs));
+ return AddStopWords(reader, fieldName, (int) (reader.NumDocs * maxPercentDocs));
}
/**
@@ -133,11 +154,11 @@ public class QueryAutoStopWordAnalyzer :
TermEnum te = reader.Terms(new Term(fieldName));
Term term = te.Term();
while (term != null) {
- if (term.Field() != internedFieldName) {
+ if (term.Field != internedFieldName) {
break;
}
if (te.DocFreq() > maxDocFreq) {
- stopWords.Add(term.Text());
+ stopWords.Add(term.Text);
}
if (!te.Next()) {
break;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Reverse/ReverseStringFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Reverse/ReverseStringFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Reverse/ReverseStringFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Reverse/ReverseStringFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/SimpleThreeDimensionalTokenSettingsCodec.cs Tue Mar 13 20:32:43 2012
@@ -40,7 +40,7 @@ namespace Lucene.Net.Analysis.Shingle.Co
/// <returns>the token flags int value as TokenPosition</returns>
public override TokenPositioner GetTokenPositioner(Token token)
{
- switch (token.GetFlags())
+ switch (token.Flags)
{
case 0:
return TokenPositioner.NewColumn;
@@ -59,7 +59,7 @@ namespace Lucene.Net.Analysis.Shingle.Co
/// <param name="tokenPositioner"></param>
public override void SetTokenPositioner(Token token, TokenPositioner tokenPositioner)
{
- token.SetFlags(tokenPositioner.Index);
+ token.Flags = tokenPositioner.Index;
}
/// <summary>
@@ -69,10 +69,10 @@ namespace Lucene.Net.Analysis.Shingle.Co
/// <returns></returns>
public override float GetWeight(Token token)
{
- if (token.GetPayload() == null || token.GetPayload().GetData() == null)
+ if (token.Payload == null || token.Payload.GetData() == null)
return 1f;
- return PayloadHelper.DecodeFloat(token.GetPayload().GetData());
+ return PayloadHelper.DecodeFloat(token.Payload.GetData());
}
/// <summary>
@@ -82,11 +82,7 @@ namespace Lucene.Net.Analysis.Shingle.Co
/// <param name="weight"></param>
public override void SetWeight(Token token, float weight)
{
- token.SetPayload(
- weight == 1f
- ? null
- : new Payload(PayloadHelper.EncodeFloat(weight))
- );
+ token.Payload = weight == 1f ? null : new Payload(PayloadHelper.EncodeFloat(weight));
}
}
}
\ No newline at end of file
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/Codec/TwoDimensionalNonWeightedSynonymTokenSettingsCodec.cs Tue Mar 13 20:32:43 2012
@@ -30,9 +30,7 @@ namespace Lucene.Net.Analysis.Shingle.Co
public override TokenPositioner GetTokenPositioner(Token token)
{
return
- token.GetPositionIncrement() == 0
- ? TokenPositioner.NewRow
- : TokenPositioner.NewColumn;
+ token.PositionIncrement == 0 ? TokenPositioner.NewRow : TokenPositioner.NewColumn;
}
public override void SetTokenPositioner(Token token, TokenPositioner tokenPositioner)
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleFilter.cs Tue Mar 13 20:32:43 2012
@@ -188,7 +188,7 @@ namespace Lucene.Net.Analyzers.Shingle
if (shingleBufferPosition == 0)
{
RestoreState(nextToken);
- posIncrAtt.SetPositionIncrement(1);
+ posIncrAtt.PositionIncrement = 1;
shingleBufferPosition++;
return true;
}
@@ -212,11 +212,11 @@ namespace Lucene.Net.Analyzers.Shingle
termAtt.SetTermLength(termLength);
if ((!outputUnigrams) && shingleBufferPosition % this.maxShingleSize == 1)
{
- posIncrAtt.SetPositionIncrement(1);
+ posIncrAtt.PositionIncrement = 1;
}
else
{
- posIncrAtt.SetPositionIncrement(0);
+ posIncrAtt.PositionIncrement = 0;
}
shingleBufferPosition++;
if (shingleBufferPosition == shingleBuf.Count)
@@ -288,9 +288,9 @@ namespace Lucene.Net.Analyzers.Shingle
if (!input.IncrementToken()) return false;
hasCurrentToken = true;
- if (posIncrAtt.GetPositionIncrement() > 1)
+ if (posIncrAtt.PositionIncrement > 1)
{
- numFillerTokensToInsert = posIncrAtt.GetPositionIncrement() - 1;
+ numFillerTokensToInsert = posIncrAtt.PositionIncrement - 1;
}
}
}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Shingle/ShingleMatrixFilter.cs Tue Mar 13 20:32:43 2012
@@ -317,11 +317,11 @@ namespace Lucene.Net.Analyzers.Shingle
ClearAttributes();
_termAtt.SetTermBuffer(token.TermBuffer(), 0, token.TermLength());
- _posIncrAtt.SetPositionIncrement(token.GetPositionIncrement());
- _flagsAtt.SetFlags(token.GetFlags());
+ _posIncrAtt.PositionIncrement = token.PositionIncrement;
+ _flagsAtt.Flags = token.Flags;
_offsetAtt.SetOffset(token.StartOffset(), token.EndOffset());
_typeAtt.SetType(token.Type());
- _payloadAtt.SetPayload(token.GetPayload());
+ _payloadAtt.Payload = token.Payload;
return true;
}
@@ -331,11 +331,11 @@ namespace Lucene.Net.Analyzers.Shingle
if (!_input.IncrementToken()) return null;
token.SetTermBuffer(_inTermAtt.TermBuffer(), 0, _inTermAtt.TermLength());
- token.SetPositionIncrement(_inPosIncrAtt.GetPositionIncrement());
- token.SetFlags(_inFlagsAtt.GetFlags());
+ token.PositionIncrement = _inPosIncrAtt.PositionIncrement;
+ token.Flags = _inFlagsAtt.Flags;
token.SetOffset(_inOffsetAtt.StartOffset(), _inOffsetAtt.EndOffset());
token.SetType(_inTypeAtt.Type());
- token.SetPayload(_inPayloadAtt.GetPayload());
+ token.Payload = _inPayloadAtt.Payload;
return token;
}
@@ -343,11 +343,11 @@ namespace Lucene.Net.Analyzers.Shingle
{
if (!this.IncrementToken()) return null;
token.SetTermBuffer(_termAtt.TermBuffer(), 0, _termAtt.TermLength());
- token.SetPositionIncrement(_posIncrAtt.GetPositionIncrement());
- token.SetFlags(_flagsAtt.GetFlags());
+ token.PositionIncrement = _posIncrAtt.PositionIncrement;
+ token.Flags = _flagsAtt.Flags;
token.SetOffset(_offsetAtt.StartOffset(), _offsetAtt.EndOffset());
token.SetType(_typeAtt.Type());
- token.SetPayload(_payloadAtt.GetPayload());
+ token.Payload = _payloadAtt.Payload;
return token;
}
@@ -530,8 +530,8 @@ namespace Lucene.Net.Analyzers.Shingle
public void UpdateToken(Token token, List<Token> shingle, int currentPermutationStartOffset, List<Row> currentPermutationRows, List<Token> currentPermuationTokens)
{
token.SetType(typeof(ShingleMatrixFilter).Name);
- token.SetFlags(0);
- token.SetPositionIncrement(1);
+ token.Flags = 0;
+ token.PositionIncrement = 1;
token.SetStartOffset((shingle[0]).StartOffset());
token.SetEndOffset(shingle[shingle.Count - 1].EndOffset());
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/DateRecognizerSinkFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -57,4 +78,4 @@ namespace Lucene.Net.Analysis.Sinks
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenRangeSinkFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Sinks/TokenTypeSinkFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiAnalyzer.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiAnalyzer.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiAnalyzer.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiAnalyzer.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -70,4 +91,4 @@ namespace Lucene.Net.Analysis.Th
return streams.result;
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiWordFilter.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiWordFilter.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiWordFilter.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Analyzers/Th/ThaiWordFilter.cs Tue Mar 13 20:32:43 2012
@@ -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;
@@ -81,4 +102,4 @@ namespace Lucene.Net.Analysis.Th
thaiState = null;
}
}
-}
\ No newline at end of file
+}
Modified: incubator/lucene.net/trunk/src/contrib/Core/Analysis/Ext/Analysis.Ext.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Core/Analysis/Ext/Analysis.Ext.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
Binary files - no diff available.
Modified: incubator/lucene.net/trunk/src/contrib/Core/Index/FieldEnumerator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Core/Index/FieldEnumerator.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Core/Index/FieldEnumerator.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Core/Index/FieldEnumerator.cs Tue Mar 13 20:32:43 2012
@@ -256,12 +256,12 @@ namespace Lucene.Net.Index
}
this.currentTerm = termEnum.Term();
- if (this.currentTerm == null || (!this.currentTerm.Field().Equals(this.fieldName)))
+ if (this.currentTerm == null || (!this.currentTerm.Field.Equals(this.fieldName)))
{
return false;
}
- if (this.enclosing.TryParse(this.currentTerm.Text()))
+ if (this.enclosing.TryParse(this.currentTerm.Text))
{
if (this.termDocs != null)
{
Modified: incubator/lucene.net/trunk/src/contrib/Core/Index/SegmentsGenCommit.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Core/Index/SegmentsGenCommit.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Core/Index/SegmentsGenCommit.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Core/Index/SegmentsGenCommit.cs Tue Mar 13 20:32:43 2012
@@ -61,24 +61,36 @@ namespace Lucene.Net.Index
/// segments.gen file.
/// </summary>
/// <returns>The segments_n file to use.</returns>
- public override string GetSegmentsFileName()
+ public override string SegmentsFileName
{
- return IndexFileNames.FileNameFromGeneration(IndexFileNames.SEGMENTS, string.Empty, this.generation);
+ get
+ {
+ return IndexFileNames.FileNameFromGeneration(IndexFileNames.SEGMENTS, string.Empty, this.generation);
+ }
}
- public override long GetGeneration()
+ public override long Generation
{
- return this.generation;
+ get
+ {
+ return this.generation;
+ }
}
- public override ICollection<string> GetFileNames()
+ public override ICollection<string> FileNames
{
- throw new NotImplementedException();
+ get
+ {
+ throw new NotImplementedException();
+ }
}
- public override Directory GetDirectory()
+ public override Directory Directory
{
- return this.directory;
+ get
+ {
+ return this.directory;
+ }
}
/// <summary>
@@ -118,24 +130,33 @@ namespace Lucene.Net.Index
throw new NotImplementedException();
}
- public override bool IsDeleted()
+ public override bool IsDeleted
{
- throw new NotImplementedException();
+ get
+ {
+ throw new NotImplementedException();
+ }
}
- public override bool IsOptimized()
+ public override bool IsOptimized
{
- throw new NotImplementedException();
+ get { throw new NotImplementedException(); }
}
- public override long GetVersion()
+ public override long Version
{
- throw new NotImplementedException();
+ get
+ {
+ throw new NotImplementedException();
+ }
}
- public override IDictionary<string, string> GetUserData()
+ public override IDictionary<string, string> UserData
{
- throw new NotImplementedException();
+ get
+ {
+ throw new NotImplementedException();
+ }
}
}
}
Modified: incubator/lucene.net/trunk/src/contrib/Core/Index/TermVectorEnumerator.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/Core/Index/TermVectorEnumerator.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/Core/Index/TermVectorEnumerator.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/Core/Index/TermVectorEnumerator.cs Tue Mar 13 20:32:43 2012
@@ -89,7 +89,7 @@ namespace Lucene.Net.Index
public bool MoveNext()
{
this.document++;
- return this.document < this.reader.MaxDoc();
+ return this.document < this.reader.MaxDoc;
}
public void Reset()
Modified: incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/BaseFragmentsBuilder.cs Tue Mar 13 20:32:43 2012
@@ -177,8 +177,8 @@ namespace Lucene.Net.Search.Vectorhighli
{
while (buffer.Length < endOffset && index[0] < values.Length)
{
- buffer.Append(values[index[0]].StringValue());
- if (values[index[0]].IsTokenized() && values[index[0]].StringValue().Length > 0 && index[0] + 1 < values.Length)
+ buffer.Append(values[index[0]].StringValue);
+ if (values[index[0]].IsTokenized && values[index[0]].StringValue.Length > 0 && index[0] + 1 < values.Length)
buffer.Append(' ');
index[0]++;
}
Modified: incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldQuery.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldQuery.cs?rev=1300340&r1=1300339&r2=1300340&view=diff
==============================================================================
--- incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldQuery.cs (original)
+++ incubator/lucene.net/trunk/src/contrib/FastVectorHighlighter/FieldQuery.cs Tue Mar 13 20:32:43 2012
@@ -58,7 +58,7 @@ namespace Lucene.Net.Search.Vectorhighli
if (pq.GetTerms().Length > 1)
{
foreach (Term term in pq.GetTerms())
- rootMap.AddTerm(term, flatQuery.GetBoost());
+ rootMap.AddTerm(term, flatQuery.Boost);
}
}
}
@@ -142,12 +142,12 @@ namespace Lucene.Net.Search.Vectorhighli
*/
private void CheckOverlap(Dictionary<Query,Query> expandQueries, PhraseQuery a, PhraseQuery b)
{
- if (a.GetSlop() != b.GetSlop()) return;
+ if (a.Slop != b.Slop) return;
Term[] ats = a.GetTerms();
Term[] bts = b.GetTerms();
- if (fieldMatch && !ats[0].Field().Equals(bts[0].Field())) return;
- CheckOverlap(expandQueries, ats, bts, a.GetSlop(), a.GetBoost());
- CheckOverlap(expandQueries, bts, ats, b.GetSlop(), b.GetBoost());
+ if (fieldMatch && !ats[0].Field.Equals(bts[0].Field)) return;
+ CheckOverlap(expandQueries, ats, bts, a.Slop, a.Boost);
+ CheckOverlap(expandQueries, bts, ats, b.Slop, b.Boost);
}
/*
@@ -173,7 +173,7 @@ namespace Lucene.Net.Search.Vectorhighli
bool overlap = true;
for (int j = i; j < src.Length; j++)
{
- if ((j - i) < dest.Length && !src[j].Text().Equals(dest[j - i].Text()))
+ if ((j - i) < dest.Length && !src[j].Text.Equals(dest[j - i].Text))
{
overlap = false;
break;
@@ -186,10 +186,10 @@ namespace Lucene.Net.Search.Vectorhighli
pq.Add(srcTerm);
for (int k = src.Length - i; k < dest.Length; k++)
{
- pq.Add(new Term(src[0].Field(), dest[k].Text()));
+ pq.Add(new Term(src[0].Field, dest[k].Text));
}
- pq.SetSlop(slop);
- pq.SetBoost(boost);
+ pq.Slop = slop;
+ pq.Boost = boost;
if (!expandQueries.ContainsKey(pq))
expandQueries.Add(pq,pq);
}
@@ -216,12 +216,12 @@ namespace Lucene.Net.Search.Vectorhighli
{
if (!fieldMatch) return null;
if (query is TermQuery)
- return ((TermQuery)query).GetTerm().Field();
+ return ((TermQuery)query).Term.Field;
else if (query is PhraseQuery)
{
PhraseQuery pq = (PhraseQuery)query;
Term[] terms = pq.GetTerms();
- return terms[0].Field();
+ return terms[0].Field;
}
else
throw new System.ApplicationException("query \"" + query.ToString() + "\" must be flatten first.");
@@ -255,11 +255,11 @@ namespace Lucene.Net.Search.Vectorhighli
{
List<String> termSet = GetTermSet(query);
if (query is TermQuery)
- termSet.Add(((TermQuery)query).GetTerm().Text());
+ termSet.Add(((TermQuery)query).Term.Text);
else if (query is PhraseQuery)
{
foreach (Term term in ((PhraseQuery)query).GetTerms())
- termSet.Add(term.Text());
+ termSet.Add(term.Text);
}
else
throw new System.ApplicationException("query \"" + query.ToString() + "\" must be flatten first.");
@@ -335,7 +335,7 @@ namespace Lucene.Net.Search.Vectorhighli
public void AddTerm(Term term, float boost)
{
- QueryPhraseMap map = GetOrNewMap(subMap, term.Text());
+ QueryPhraseMap map = GetOrNewMap(subMap, term.Text);
map.MarkTerminal(boost);
}
@@ -354,7 +354,7 @@ namespace Lucene.Net.Search.Vectorhighli
{
if (query is TermQuery)
{
- AddTerm(((TermQuery)query).GetTerm(), query.GetBoost());
+ AddTerm(((TermQuery)query).Term, query.Boost);
}
else if (query is PhraseQuery)
{
@@ -364,10 +364,10 @@ namespace Lucene.Net.Search.Vectorhighli
QueryPhraseMap qpm = null;
foreach (Term term in terms)
{
- qpm = GetOrNewMap(map, term.Text());
+ qpm = GetOrNewMap(map, term.Text);
map = qpm.subMap;
}
- qpm.MarkTerminal(pq.GetSlop(), pq.GetBoost());
+ qpm.MarkTerminal(pq.Slop, pq.Boost);
}
else
throw new ApplicationException("query \"" + query.ToString() + "\" must be flatten first.");