You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ar...@apache.org on 2006/06/04 04:41:25 UTC
svn commit: r411501 [1/30] - in /incubator/lucene.net/trunk/C#/src: ./
Demo/DeleteFiles/ Demo/DemoLib/ Demo/DemoLib/HTML/ Demo/IndexFiles/
Demo/IndexHtml/ Demo/SearchFiles/ Lucene.Net/ Lucene.Net/Analysis/
Lucene.Net/Analysis/Standard/ Lucene.Net/Docum...
Author: aroush
Date: Sat Jun 3 19:41:13 2006
New Revision: 411501
URL: http://svn.apache.org/viewvc?rev=411501&view=rev
Log:
First release of Lucene.Net 1.9 Build 003 on SVN
Added:
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/ISOLatin1AccentFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/KeywordAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/KeywordTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/LengthFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/WordlistLoader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/DateTools.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/NumberTools.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexFileNameFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexFileNames.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexModifier.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/ParallelReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermPositionVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermBuffer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermVectorOffsetInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Lucene.Net-1.9.rc1.csproj
incubator/lucene.net/trunk/C#/src/Lucene.Net/Lucene.Net-1.9.rc1.sln
incubator/lucene.net/trunk/C#/src/Lucene.Net/Lucene.Net.suo (with props)
incubator/lucene.net/trunk/C#/src/Lucene.Net/LucenePackage.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Package.html
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer2.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConstantScoreRangeQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionMaxScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DisjunctionSumScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hit.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitIterator.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MatchAllDocsQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiPhraseQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/NonMatchingScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Regex/
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Regex/RegexQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Regex/RegexTermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Regex/SpanRegexQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqExclScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ReqOptSumScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SimilarityDelegator.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/SharpZipLibAdapter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/BufferedIndexInput.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/BufferedIndexOutput.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/IndexInput.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/IndexOutput.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/MMapDirectory.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/Parameter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/SmallFloat.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/ToStringUtils.cs
incubator/lucene.net/trunk/C#/src/README.txt
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestISOLatin1AccentFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestKeywordAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestLengthFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStandardAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Document/TestBinaryDocument.cs
incubator/lucene.net/trunk/C#/src/Test/Document/TestDateTools.cs
incubator/lucene.net/trunk/C#/src/Test/Document/TestNumberTools.cs
incubator/lucene.net/trunk/C#/src/Test/Index/MockIndexInput.cs
incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestFSDirectory.cs
incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexInput.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexModifier.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestParallelReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestWordlistLoader.cs
incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestMultiAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestMultiFieldQueryParser.cs
incubator/lucene.net/trunk/C#/src/Test/Search/BaseTestRangeFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Search/QueryUtils.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Regex/
incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestRegexQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Regex/TestSpanRegexQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpansAdvanced2.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBoolean2.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanMinShouldMatch.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanOr.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanScorer.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestConstantScoreRangeQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestCustomSearcherSort.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestDisjunctionMaxQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestFuzzyQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestMatchAllDocsQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiPhraseQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcherRanking.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiThreadTermVectors.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Test.suo (with props)
incubator/lucene.net/trunk/C#/src/Test/TestDemo.cs
incubator/lucene.net/trunk/C#/src/Test/TestHitIterator.cs
incubator/lucene.net/trunk/C#/src/Test/Util/TestSmallFloat.cs
incubator/lucene.net/trunk/C#/src/Test/Util/TestStringHelper.cs
Modified:
incubator/lucene.net/trunk/C#/src/ABOUT.txt
incubator/lucene.net/trunk/C#/src/BUILD.txt
incubator/lucene.net/trunk/C#/src/CHANGES.txt
incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs
incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj
incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/FileDocument.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Entities.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParser.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParser.jj
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParserConstants.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/HTMLParserTokenManager.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/ParseException.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/ParserThread.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/SimpleCharStream.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Tags.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Test.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Token.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/TokenMgrError.cs
incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTMLDocument.cs
incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.cs
incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj
incubator/lucene.net/trunk/C#/src/Demo/IndexFiles/IndexFiles.csproj.user
incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.cs
incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj
incubator/lucene.net/trunk/C#/src/Demo/IndexHtml/IndexHtml.csproj.user
incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.cs
incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj
incubator/lucene.net/trunk/C#/src/Demo/SearchFiles/SearchFiles.csproj.user
incubator/lucene.net/trunk/C#/src/HISTORY.txt
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Analyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/CharTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/LetterTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/LowerCaseFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/LowerCaseTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/PerFieldAnalyzerWrapper.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/PorterStemFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/PorterStemmer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/SimpleAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/CharStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/FastCharStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/ParseException.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizer.jj
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizerConstants.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/StandardTokenizerTokenManager.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/Token.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Standard/TokenMgrError.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/StopFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Token.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/TokenStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/Tokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/WhitespaceAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Analysis/WhitespaceTokenizer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/DateField.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Document.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Document/Field.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CompoundFileReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/CompoundFileWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/DocumentWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldInfos.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FieldsWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/FilterIndexReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/IndexWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/MultiReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/MultipleTermPositions.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentInfos.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentMergeInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentMergeQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentMerger.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermDocs.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermPositions.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/SegmentTermVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/Term.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermDocs.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermFreqVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfo.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermInfosWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermPositionVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermPositions.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermVectorsReader.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Index/TermVectorsWriter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Lucene.Net.xml
incubator/lucene.net/trunk/C#/src/Lucene.Net/Overview.html
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/CharStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/FastCharStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/MultiFieldQueryParser.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/ParseException.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.JJ
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParser.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParserConstants.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/QueryParserTokenManager.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/Token.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/QueryParser/TokenMgrError.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanClause.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/BooleanScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/CachingWrapperFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ConjunctionScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DateFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/DefaultSimilarity.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ExactPhraseScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Explanation.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCache.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldCacheImpl.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldDoc.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldDocSortedHitQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FieldSortedHitQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Filter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FilteredTermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FuzzyQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/FuzzyTermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitCollector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/HitQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Hits.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/IndexSearcher.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiSearcher.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/MultiTermQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ParallelMultiSearcher.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhrasePositions.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhrasePrefixQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PhraseScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/PrefixQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Query.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryFilter.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/QueryTermVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RangeQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/RemoteSearchable.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDoc.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/ScoreDocComparator.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Scorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searchable.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Searcher.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Similarity.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SloppyPhraseScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Sort.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortComparator.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortComparatorSource.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/SortField.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/NearSpans.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/Package.html
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanFirstQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNearQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanNotQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanOrQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanTermQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/SpanWeight.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Spans/Spans.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TermQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TermScorer.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TopDocs.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/TopFieldDocs.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/Weight.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/WildcardQuery.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Search/WildcardTermEnum.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/Directory.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/FSDirectory.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/InputStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/Lock.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/OutputStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/RAMDirectory.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/RAMFile.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/RAMInputStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Store/RAMOutputStream.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/SupportClass.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/BitVector.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/Constants.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/PriorityQueue.cs
incubator/lucene.net/trunk/C#/src/Lucene.Net/Util/StringHelper.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestAnalyzers.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestPerFieldAnalzyerWrapper.cs
incubator/lucene.net/trunk/C#/src/Test/Analysis/TestStopAnalyzer.cs
incubator/lucene.net/trunk/C#/src/Test/AnalysisTest.cs
incubator/lucene.net/trunk/C#/src/Test/AssemblyInfo.cs
incubator/lucene.net/trunk/C#/src/Test/Document/TestDocument.cs
incubator/lucene.net/trunk/C#/src/Test/Index/DocHelper.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestCompoundFile.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestDoc.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestDocumentWriter.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldInfos.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestFieldsReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestFilterIndexReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestIndexWriter.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestMultiReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentMerger.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermDocs.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestSegmentTermEnum.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsReader.cs
incubator/lucene.net/trunk/C#/src/Test/Index/TestTermVectorsWriter.cs
incubator/lucene.net/trunk/C#/src/Test/IndexTest.cs
incubator/lucene.net/trunk/C#/src/Test/QueryParser/TestQueryParser.cs
incubator/lucene.net/trunk/C#/src/Test/Search/CheckHits.cs
incubator/lucene.net/trunk/C#/src/Test/Search/MockFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Search/SampleComparable.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestBasics.cs
incubator/lucene.net/trunk/C#/src/Test/Search/Spans/TestSpans.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestBooleanPrefixQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestCachingWrapperFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestDateFilter.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestDocBoost.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestFilteredQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestMultiSearcher.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestNot.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestParallelMultiSearcher.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestPhrasePrefixQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestPhraseQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestPositionIncrement.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestPrefixQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestQueryTermVector.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestRangeQuery.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestRemoteSearchable.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestSetNorm.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestSimilarity.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestSort.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestTermVectors.cs
incubator/lucene.net/trunk/C#/src/Test/Search/TestWildcard.cs
incubator/lucene.net/trunk/C#/src/Test/SearchTest.cs
incubator/lucene.net/trunk/C#/src/Test/SearchTestForDuplicates.cs
incubator/lucene.net/trunk/C#/src/Test/Store/_TestHelper.cs
incubator/lucene.net/trunk/C#/src/Test/StoreTest.cs
incubator/lucene.net/trunk/C#/src/Test/Test.csproj
incubator/lucene.net/trunk/C#/src/Test/Test.csproj.user
incubator/lucene.net/trunk/C#/src/Test/TestSearch.cs
incubator/lucene.net/trunk/C#/src/Test/TestSearchForDuplicates.cs
incubator/lucene.net/trunk/C#/src/Test/ThreadSafetyTest.cs
incubator/lucene.net/trunk/C#/src/Test/Util/English.cs
incubator/lucene.net/trunk/C#/src/Test/Util/TestBitVector.cs
incubator/lucene.net/trunk/C#/src/Test/Util/TestPriorityQueue.cs
Modified: incubator/lucene.net/trunk/C#/src/ABOUT.txt
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/ABOUT.txt?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/ABOUT.txt (original)
+++ incubator/lucene.net/trunk/C#/src/ABOUT.txt Sat Jun 3 19:41:13 2006
@@ -1 +1 @@
-dotLucene is a port of Jakarta Lucene to C#. The port from Java to C# of version 1.4.0, and 1.4.3 are done primary by George Aroush. To contact George Aroush please visit http://www.aroush.net/
+Lucene.Net is a port of Jakarta Lucene to C#. The port from Java to C# of version 1.4.0, 1.4.3 and 1.9 are done primary by George Aroush. To contact George Aroush please visit http://www.aroush.net/
Modified: incubator/lucene.net/trunk/C#/src/BUILD.txt
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/BUILD.txt?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/BUILD.txt (original)
+++ incubator/lucene.net/trunk/C#/src/BUILD.txt Sat Jun 3 19:41:13 2006
@@ -1,30 +1,24 @@
Lucene Build Instructions
-$Id: BUILD.txt,v 1.8 2004/04/03 21:32:50 ehatcher Exp $
+$Id: BUILD.txt 168332 2005-05-05 13:38:34Z dnaber $
Basic steps:
- 0) Install JDK 1.2 (or greater), Ant 1.6 (or greater), and the Ant
- optional.jar
+ 0) Install JDK 1.4 (or greater), Ant 1.6.2 (or greater)
1) Download Lucene from Apache and unpack it
2) Connect to the top-level of your Lucene installation
3) Install JavaCC (optional)
4) Run ant
-Step 0) Set up your development environment (JDK 1.2 or greater,
-Ant 1.6 or greater)
+Step 0) Set up your development environment (JDK 1.4 or greater,
+Ant 1.6.2 or greater)
We'll assume that you know how to get and set up the JDK - if you
don't, then we suggest starting at http://java.sun.com and learning
-more about Java, before returning to this README.
+more about Java, before returning to this README. Lucene runs with
+JDK 1.4 and later.
-Lucene runs with JDK 1.2 and later. However, if you're going to work
-with the development version of Lucene, we recommend you stick with
-the most current version of Java (at the time of this writing, JDK
-1.4). Also, note that if you're working with the Lucene source,
-you'll need to use Ant (see below) and Ant requires at least JDK 1.2.
-
-Like most of the Jakarta projects, Lucene uses Apache Ant for build
-control. Specifically, you MUST use Ant version 1.6 or greater.
+Like many Open Source java projects, Lucene uses Apache Ant for build
+control. Specifically, you MUST use Ant version 1.6.2 or greater.
Ant is "kind of like make without make's wrinkles". Ant is
implemented in java and uses XML-based configuration files. You can
@@ -32,8 +26,8 @@
http://ant.apache.org
-You'll need to download both the Ant binary distribution and the
-"optional" jar file. Install these according to the instructions at:
+You'll need to download the Ant binary distribution. Install it
+according to the instructions at:
http://ant.apache.org/manual
@@ -44,26 +38,24 @@
route, or you might have an incomplete copy of the Lucene, so: Lucene
releases are available for download at:
- http://jakarta.apache.org/builds/jakarta-lucene/release/
+ http://www.apache.org/dyn/closer.cgi/jakarta/lucene/
Download either a zip or a tarred/gzipped version of the archive, and
uncompress it into a directory of your choice.
Step 2) Connect to the top-level of your Lucene installation
-Lucene's top-level directory contains the default.properties and
-build.xml files. By default, you do not need to change any of the
-settings in these files, but you do need to run ant from this location
-so it knows where to find them.
-
-If you would like to change the settings in the default.properties there
-is no need to edit the default.properties file, you can override the
-property settings by creating one or more of the following files and
-placing your own property settings in there:
+Lucene's top-level directory contains the build.xml file. By default,
+you do not need to change any of the settings in this file, but you do
+need to run ant from this location so it knows where to find build.xml.
+
+If you would like to change settings you can do so by creating one
+or more of the following files and placing your own property settings
+in there:
~/lucene.build.properties
~/build.properties
- jakarta-lucene/build.properties
+ lucene-x.y/build.properties
The first property which is found in the order with which the files are
loaded becomes the property setting which is used by the Ant build
@@ -82,7 +74,7 @@
Follow the download links and download the zip file to a temporary
location on your file system.
-After JavaCC is installed, edit your build.properties
+After JavaCC is installed, create a build.properties file
(as in step 2), and add the line
javacc.home=/javacc/bin
@@ -99,10 +91,10 @@
To rebuild any of the JavaCC-based parsers, run "ant javacc".
For further information on Lucene, go to:
- http://jakarta.apache.org/lucene/
+ http://lucene.apache.org/
Please join the Lucene-User mailing list by visiting this site:
- http://jakarta.apache.org/site/mail.html
+ http://lucene.apache.org/java/docs/mailinglists.html
Please post suggestions, questions, corrections or additions to this
document to the lucene-user mailing list.
@@ -110,4 +102,4 @@
This file was originally written by Steven J. Owens <pu...@darksleep.com>.
This file was modified by Jon S. Stevens <jo...@latchkey.com>.
-Copyright (c) 2001-2004 The Apache Software Foundation. All rights reserved.
+Copyright (c) 2001-2005 The Apache Software Foundation. All rights reserved.
Modified: incubator/lucene.net/trunk/C#/src/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/CHANGES.txt?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/CHANGES.txt (original)
+++ incubator/lucene.net/trunk/C#/src/CHANGES.txt Sat Jun 3 19:41:13 2006
@@ -1,6 +1,395 @@
-Lucene Change Log
+Lucene Change Log
+
+$Id: CHANGES.txt 355181 2005-12-08 19:53:06Z cutting $
+
+1.9 RC1
+
+Note that this realease is mostly but not 100% source compatible with the
+latest release of Lucene (1.4.3). In other words, you should make sure
+your application compiles with this version of Lucene before you replace
+the old Lucene JAR with the new one.
+
+Requirements
+
+ 1. To compile and use Lucene you now need Java 1.4 or later.
+
+Changes in runtime behavior
+
+ 1. FuzzyQuery can no longer throw a TooManyClauses exception. If a
+ FuzzyQuery expands to more than BooleanQuery.maxClauseCount
+ terms only the BooleanQuery.maxClauseCount most similar terms
+ go into the rewritten query and thus the exception is avoided.
+ (Christoph)
+
+ 2. Changed system property from "org.apache.lucene.lockdir" to
+ "org.apache.lucene.lockDir", so that its casing follows the existing
+ pattern used in other Lucene system properties. (Bernhard)
+
+ 3. The terms of RangeQueries and FuzzyQueries are now converted to
+ lowercase by default (as it has been the case for PrefixQueries
+ and WildcardQueries before). Use setLowercaseExpandedTerms(false)
+ to disable that behavior but note that this also affects
+ PrefixQueries and WildcardQueries. (Daniel Naber)
+
+ 4. Document frequency that is computed when MultiSearcher is used is now
+ computed correctly and "globally" across subsearchers and indices, while
+ before it used to be computed locally to each index, which caused
+ ranking across multiple indices not to be equivalent.
+ (Chuck Williams, Wolf Siberski via Otis, bug #31841)
+
+ 5. When opening an IndexWriter with create=true, Lucene now only deletes
+ its own files from the index directory (looking at the file name suffixes
+ to decide if a file belongs to Lucene). The old behavior was to delete
+ all files. (Daniel Naber and Bernhard Messer, bug #34695)
+
+ 6. The version of an IndexReader, as returned by getCurrentVersion()
+ and getVersion() doesn't start at 0 anymore for new indexes. Instead, it
+ is now initialized by the system time in milliseconds.
+ (Bernhard Messer via Daniel Naber)
+
+ 7. Several default values cannot be set via system properties anymore, as
+ this has been considered inappropriate for a library like Lucene. For
+ most properties there are set/get methods available in IndexWriter which
+ you should use instead. This affects the following properties:
+ See IndexWriter for getter/setter methods:
+ org.apache.lucene.writeLockTimeout, org.apache.lucene.commitLockTimeout,
+ org.apache.lucene.minMergeDocs, org.apache.lucene.maxMergeDocs,
+ org.apache.lucene.maxFieldLength, org.apache.lucene.termIndexInterval,
+ org.apache.lucene.mergeFactor,
+ See BooleanQuery for getter/setter methods:
+ org.apache.lucene.maxClauseCount
+ See FSDirectory for getter/setter methods:
+ disableLuceneLocks
+ (Daniel Naber)
+
+ 8. Fixed FieldCacheImpl to use user-provided IntParser and FloatParser,
+ instead of using Integer and Float classes for parsing.
+ (Yonik Seeley via Otis Gospodnetic)
+
+ 9. Expert level search routines returning TopDocs and TopFieldDocs
+ no longer normalize scores. This also fixes bugs related to
+ MultiSearchers and score sorting/normalization.
+ (Luc Vanlerberghe via Yonik Seeley, LUCENE-469)
+
+New features
+
+ 1. Added support for stored compressed fields (patch #31149)
+ (Bernhard Messer via Christoph)
+
+ 2. Added support for binary stored fields (patch #29370)
+ (Drew Farris and Bernhard Messer via Christoph)
+
+ 3. Added support for position and offset information in term vectors
+ (patch #18927). (Grant Ingersoll & Christoph)
+
+ 4. A new class DateTools has been added. It allows you to format dates
+ in a readable format adequate for indexing. Unlike the existing
+ DateField class DateTools can cope with dates before 1970 and it
+ forces you to specify the desired date resolution (e.g. month, day,
+ second, ...) which can make RangeQuerys on those fields more efficient.
+ (Daniel Naber)
+
+ 5. QueryParser now correctly works with Analyzers that can return more
+ than one token per position. For example, a query "+fast +car"
+ would be parsed as "+fast +(car automobile)" if the Analyzer
+ returns "car" and "automobile" at the same position whenever it
+ finds "car" (Patch #23307).
+ (Pierrick Brihaye, Daniel Naber)
+
+ 6. Permit unbuffered Directory implementations (e.g., using mmap).
+ InputStream is replaced by the new classes IndexInput and
+ BufferedIndexInput. OutputStream is replaced by the new classes
+ IndexOutput and BufferedIndexOutput. InputStream and OutputStream
+ are now deprecated and FSDirectory is now subclassable. (cutting)
+
+ 7. Add native Directory and TermDocs implementations that work under
+ GCJ. These require GCC 3.4.0 or later and have only been tested
+ on Linux. Use 'ant gcj' to build demo applications. (cutting)
+
+ 8. Add MMapDirectory, which uses nio to mmap input files. This is
+ still somewhat slower than FSDirectory. However it uses less
+ memory per query term, since a new buffer is not allocated per
+ term, which may help applications which use, e.g., wildcard
+ queries. It may also someday be faster. (cutting & Paul Elschot)
+
+ 9. Added javadocs-internal to build.xml - bug #30360
+ (Paul Elschot via Otis)
+
+10. Added RangeFilter, a more generically useful filter than DateFilter.
+ (Chris M Hostetter via Erik)
+
+11. Added NumberTools, a utility class indexing numeric fields.
+ (adapted from code contributed by Matt Quail; committed by Erik)
+
+12. Added public static IndexReader.main(String[] args) method.
+ IndexReader can now be used directly at command line level
+ to list and optionally extract the individual files from an existing
+ compound index file.
+ (adapted from code contributed by Garrett Rooney; committed by Bernhard)
+
+13. Add IndexWriter.setTermIndexInterval() method. See javadocs.
+ (Doug Cutting)
+
+14. Added LucenePackage, whose static get() method returns java.util.Package,
+ which lets the caller get the Lucene version information specified in
+ the Lucene Jar.
+ (Doug Cutting via Otis)
+
+15. Added Hits.iterator() method and corresponding HitIterator and Hit objects.
+ This provides standard java.util.Iterator iteration over Hits.
+ Each call to the iterator's next() method returns a Hit object.
+ (Jeremy Rayner via Erik)
+
+16. Add ParallelReader, an IndexReader that combines separate indexes
+ over different fields into a single virtual index. (Doug Cutting)
+
+17. Add IntParser and FloatParser interfaces to FieldCache, so that
+ fields in arbitrarily formats can be cached as ints and floats.
+ (Doug Cutting)
+
+18. Added class org.apache.lucene.index.IndexModifier which combines
+ IndexWriter and IndexReader, so you can add and delete documents without
+ worrying about synchronisation/locking issues.
+ (Daniel Naber)
+
+19. Lucene can now be used inside an unsigned applet, as Lucene's access
+ to system properties will not cause a SecurityException anymore.
+ (Jon Schuster via Daniel Naber, bug #34359)
+
+20. Added a new class MatchAllDocsQuery that matches all documents.
+ (John Wang via Daniel Naber, bug #34946)
+
+21. Added ability to omit norms on a per field basis to decrease
+ index size and memory consumption when there are many indexed fields.
+ See Field.setOmitNorms()
+ (Yonik Seeley, LUCENE-448)
+
+22. Added NullFragmenter to contrib/highlighter, which is useful for
+ highlighting entire documents or fields.
+ (Erik Hatcher)
+
+23. Added regular expression queries, RegexQuery and SpanRegexQuery.
+ Note the same term enumeration caveats apply with these queries as
+ apply to WildcardQuery and other term expanding queries.
+ These two new queries are not currently supported via QueryParser.
+ (Erik Hatcher)
+
+24. Added ConstantScoreQuery which wraps a filter and produces a score
+ equal to the query boost for every matching document.
+ (Yonik Seeley, LUCENE-383)
+
+25. Added ConstantScoreRangeQuery which produces a constant score for
+ every document in the range. One advantage over a normal RangeQuery
+ is that it doesn't expand to a BooleanQuery and thus doesn't have a maximum
+ number of terms the range can cover. Both endpoints may also be open.
+ (Yonik Seeley, LUCENE-383)
+
+26. Added ability to specify a minimum number of optional clauses that
+ must match in a BooleanQuery. See BooleanQuery.setMinimumNumberShouldMatch().
+ (Paul Elschot, Chris Hostetter via Yonik Seeley, LUCENE-395)
+
+27. Added DisjunctionMaxQuery which provides the maximum score across it's clauses.
+ It's very useful for searching across multiple fields.
+ (Chuck Williams via Yonik Seeley, LUCENE-323)
+
+28. New class ISOLatin1AccentFilter that replaces accented characters in the ISO
+ Latin 1 character set by their unaccented equivalent.
+ (Sven Duzont via Erik Hatcher)
+
+29. New class KeywordAnalyzer. "Tokenizes" the entire stream as a single token.
+ This is useful for data like zip codes, ids, and some product names.
+ (Erik Hatcher)
+
+30. Copied LengthFilter from contrib area to core. Removes words that are too
+ long and too short from the stream.
+ (David Spencer via Otis and Daniel)
+
+31. Added getPositionIncrementGap(String fieldName) to Analyzer. This allows
+ custom analyzers to put gaps between Field instances with the same field
+ name, preventing phrase or span queries crossing these boundaries. The
+ default implementation issues a gap of 0, allowing the default token
+ position increment of 1 to put the next field's first token into a
+ successive position.
+ (Erik Hatcher, with advice from Yonik)
+
+32. StopFilter can now ignore case when checking for stop words.
+ (Grant Ingersoll via Yonik, LUCENE-248)
+
+API Changes
+
+ 1. Several methods and fields have been deprecated. The API documentation
+ contains information about the recommended replacements. It is planned
+ that most of the deprecated methods and fields will be removed in
+ Lucene 2.0. (Daniel Naber)
+
+ 2. The Russian and the German analyzers have been moved to contrib/analyzers.
+ Also, the WordlistLoader class has been moved one level up in the
+ hierarchy and is now org.apache.lucene.analysis.WordlistLoader
+ (Daniel Naber)
+
+ 3. The API contained methods that declared to throw an IOException
+ but that never did this. These declarations have been removed. If
+ your code tries to catch these exceptions you might need to remove
+ those catch clauses to avoid compile errors. (Daniel Naber)
+
+ 4. Add a serializable Parameter Class to standardize parameter enum
+ classes in BooleanClause and Field. (Christoph)
+
+ 5. Added rewrite methods to all SpanQuery subclasses that nest other SpanQuerys.
+ This allows custom SpanQuery subclasses that rewrite (for term expansion, for
+ example) to nest within the built-in SpanQuery classes successfully.
+
+Bug fixes
+
+ 1. The JSP demo page (src/jsp/results.jsp) now properly closes the
+ IndexSearcher it opens. (Daniel Naber)
+
+ 2. Fixed a bug in IndexWriter.addIndexes(IndexReader[] readers) that
+ prevented deletion of obsolete segments. (Christoph Goller)
+
+ 3. Fix in FieldInfos to avoid the return of an extra blank field in
+ IndexReader.getFieldNames() (Patch #19058). (Mark Harwood via Bernhard)
+
+ 4. Some combinations of BooleanQuery and MultiPhraseQuery (formerly
+ PhrasePrefixQuery) could provoke UnsupportedOperationException
+ (bug #33161). (Rhett Sutphin via Daniel Naber)
+
+ 5. Small bug in skipTo of ConjunctionScorer that caused NullPointerException
+ if skipTo() was called without prior call to next() fixed. (Christoph)
+
+ 6. Disable Similiarty.coord() in the scoring of most automatically
+ generated boolean queries. The coord() score factor is
+ appropriate when clauses are independently specified by a user,
+ but is usually not appropriate when clauses are generated
+ automatically, e.g., by a fuzzy, wildcard or range query. Matches
+ on such automatically generated queries are no longer penalized
+ for not matching all terms. (Doug Cutting, Patch #33472)
+
+ 7. Getting a lock file with Lock.obtain(long) was supposed to wait for
+ a given amount of milliseconds, but this didn't work.
+ (John Wang via Daniel Naber, Bug #33799)
+
+ 8. Fix FSDirectory.createOutput() to always create new files.
+ Previously, existing files were overwritten, and an index could be
+ corrupted when the old version of a file was longer than the new.
+ Now any existing file is first removed. (Doug Cutting)
+
+ 9. Fix BooleanQuery containing nested SpanTermQuery's, which previously
+ could return an incorrect number of hits.
+ (Reece Wilton via Erik Hatcher, Bug #35157)
+
+10. Fix NullPointerException that could occur with a MultiPhraseQuery
+ inside a BooleanQuery.
+ (Hans Hjelm and Scotty Allen via Daniel Naber, Bug #35626)
+
+11. Fixed SnowballFilter to pass through the position increment from
+ the original token.
+ (Yonik Seeley via Erik Hatcher, LUCENE-437)
+
+12. Added Unicode range of Korean characters to StandardTokenizer,
+ grouping contiguous characters into a token rather than one token
+ per character. This change also changes the token type to "<CJ>"
+ for Chinese and Japanese character tokens (previously it was "<CJK>").
+ (Cheolgoo Kang via Otis and Erik, LUCENE-444 and LUCENE-461)
+
+13. FieldsReader now looks at FieldInfo.storeOffsetWithTermVector and
+ FieldInfo.storePositionWithTermVector and creates the Field with
+ correct TermVector parameter.
+ (Frank Steinmann via Bernhard, LUCENE-455)
+
+14. Fixed WildcardQuery to prevent "cat" matching "ca??".
+ (Xiaozheng Ma via Bernhard, LUCENE-306)
+
+15. Fixed a bug where MultiSearcher and ParallelMultiSearcher could
+ change the sort order when sorting by string for documents without
+ a value for the sort field.
+ (Luc Vanlerberghe via Yonik, LUCENE-453)
+
+16. Fixed a sorting problem with MultiSearchers that can lead to
+ missing or duplicate docs due to equal docs sorting in an arbitrary order.
+ (Yonik Seeley, LUCENE-456)
+
+17. A single hit using the expert level sorted search methods
+ resulted in the score not being normalized.
+ (Yonik Seeley, LUCENE-462)
+
+18. Fixed inefficient memory usage when loading an index into RAMDirectory.
+ (Volodymyr Bychkoviak via Bernhard, LUCENE-475)
+
+19. Corrected term offsets returned by ChineseTokenizer.
+ (Ray Tsang via Erik Hatcher, LUCENE-324)
+
+20. Fixed MultiReader.undeleteAll() to correctly update numDocs.
+ (Robert Kirchgessner via Doug Cutting, LUCENE-479)
+
+Optimizations
+
+ 1. Disk usage (peak requirements during indexing and optimization)
+ in case of compound file format has been improved.
+ (Bernhard, Dmitry, and Christoph)
+
+ 2. Optimize the performance of certain uses of BooleanScorer,
+ TermScorer and IndexSearcher. In particular, a BooleanQuery
+ composed of TermQuery, with not all terms required, that returns a
+ TopDocs (e.g., through a Hits with no Sort specified) runs much
+ faster. (cutting)
+
+ 3. Removed synchronization from reading of term vectors with an
+ IndexReader (Patch #30736). (Bernhard Messer via Christoph)
+
+ 4. Optimize term-dictionary lookup to allocate far fewer terms when
+ scanning for the matching term. This speeds searches involving
+ low-frequency terms, where the cost of dictionary lookup can be
+ significant. (cutting)
+
+ 5. Optimize fuzzy queries so the standard fuzzy queries with a prefix
+ of 0 now run 20-50% faster (Patch #31882).
+ (Jonathan Hager via Daniel Naber)
+
+ 6. A Version of BooleanScorer (BooleanScorer2) added that delivers
+ documents in increasing order and implements skipTo. For queries
+ with required or forbidden clauses it may be faster than the old
+ BooleanScorer, for BooleanQueries consisting only of optional
+ clauses it is probably slower. The new BooleanScorer is now the
+ default. (Patch 31785 by Paul Elschot via Christoph)
+
+ 7. Use uncached access to norms when merging to reduce RAM usage.
+ (Bug #32847). (Doug Cutting)
+
+ 8. Don't read term index when random-access is not required. This
+ reduces time to open IndexReaders and they use less memory when
+ random access is not required, e.g., when merging segments. The
+ term index is now read into memory lazily at the first
+ random-access. (Doug Cutting)
+
+ 9. Optimize IndexWriter.addIndexes(Directory[]) when the number of
+ added indexes is larger than mergeFactor. Previously this could
+ result in quadratic performance. Now performance is n log(n).
+ (Doug Cutting)
+
+10. Speed up the creation of TermEnum for indicies with multiple
+ segments and deleted documents, and thus speed up PrefixQuery,
+ RangeQuery, WildcardQuery, FuzzyQuery, RangeFilter, DateFilter,
+ and sorting the first time on a field.
+ (Yonik Seeley, LUCENE-454)
+
+11. Optimized and generalized 32 bit floating point to byte
+ (custom 8 bit floating point) conversions. Increased the speed of
+ Similarity.encodeNorm() anywhere from 10% to 250%, depending on the JVM.
+ (Yonik Seeley, LUCENE-467)
+
+Infrastructure
+
+ 1. Lucene's source code repository has converted from CVS to
+ Subversion. The new repository is at
+ http://svn.apache.org/repos/asf/lucene/java/trunk
+
+ 2. Lucene's issue tracker has migrated from Bugzilla to JIRA.
+ Lucene's JIRA is at http://issues.apache.org/jira/browse/LUCENE
+ The old issues are still available at
+ http://issues.apache.org/bugzilla/show_bug.cgi?id=xxxx
+ (use the bug number instead of xxxx)
-$Id: CHANGES.txt,v 1.96.2.6 2004/11/25 19:13:00 goller Exp $
1.4.3
@@ -14,6 +403,7 @@
2. QueryParser changes in 1.4.2 broke the QueryParser API. Now the old
API is supported again. (Christoph)
+
1.4.2
1. Fixed bug #31241: Sorting could lead to incorrect results (documents
@@ -26,7 +416,7 @@
3. FuzzyQuery now takes an additional parameter that specifies the
minimum similarity that is required for a term to match the query.
The QueryParser syntax for this is term~x, where x is a floating
- point number between 0 and 1 (a bigger number means that a higher
+ point number >= 0 and < 1 (a bigger number means that a higher
similarity is required). Furthermore, a prefix can be specified
for FuzzyQuerys so that only those terms are considered similar that
start with this prefix. This can speed up FuzzyQuery greatly.
Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/AssemblyInfo.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/AssemblyInfo.cs Sat Jun 3 19:41:13 2006
@@ -26,7 +26,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.4.3.003")]
+[assembly: AssemblyVersion("1.9.0.003")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/DeleteFiles.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.cs Sat Jun 3 19:41:13 2006
@@ -13,32 +13,45 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
using System;
using IndexReader = Lucene.Net.Index.IndexReader;
using Term = Lucene.Net.Index.Term;
using Directory = Lucene.Net.Store.Directory;
using FSDirectory = Lucene.Net.Store.FSDirectory;
+
namespace Lucene.Net.Demo
{
+ //import Lucene.Net.index.Term;
class DeleteFiles
{
+
[STAThread]
public static void Main(System.String[] args)
{
+ System.String usage = typeof(DeleteFiles) + " <unique_term>";
+ if (args.Length == 0)
+ {
+ System.Console.Error.WriteLine("Usage: " + usage);
+ System.Environment.Exit(1);
+ }
try
{
- Directory directory = FSDirectory.GetDirectory("demo index", false);
+ Directory directory = FSDirectory.GetDirectory("index", false);
IndexReader reader = IndexReader.Open(directory);
- // Term term = new Term("path", "pizza");
- // int deleted = reader.delete(term);
+ Term term = new Term("path", args[0]);
+ int deleted = reader.Delete(term);
- // System.out.println("deleted " + deleted +
- // " documents containing " + term);
+ System.Console.Out.WriteLine("deleted " + deleted + " documents containing " + term);
- for (int i = 0; i < reader.MaxDoc(); i++)
- reader.Delete(i);
+ // one can also delete documents by their internal id:
+ /*
+ for (int i = 0; i < reader.maxDoc(); i++) {
+ System.out.println("Deleting document with id " + i);
+ reader.delete(i);
+ }*/
reader.Close();
directory.Close();
Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/DeleteFiles.csproj?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj Sat Jun 3 19:41:13 2006
@@ -87,7 +87,7 @@
<Reference
Name = "Lucene.Net"
AssemblyName = "Lucene.Net"
- HintPath = "..\..\bin\Release\Lucene.Net.dll"
+ HintPath = "..\..\Lucene.Net\bin\Debug\Lucene.Net.dll"
/>
</References>
</Build>
Modified: incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DeleteFiles/DeleteFiles.csproj.user?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DeleteFiles/DeleteFiles.csproj.user Sat Jun 3 19:41:13 2006
@@ -1,7 +1,7 @@
<VisualStudioProject>
<CSHARP LastOpenVersion = "7.10.3077" >
<Build>
- <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.4.3.final-002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.final-001\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3.Final-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.RC2-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.RC1-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.001\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.RC1-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.beta-003\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.beta-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-006\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-005\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-004\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-003\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.3\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.f
inal-002\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3.final-003\bin\Debug\" >
+ <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\" >
<Config
Name = "Debug"
EnableASPDebugging = "false"
@@ -16,7 +16,7 @@
StartProgram = ""
StartURL = ""
StartWorkingDirectory = ""
- StartWithIE = "true"
+ StartWithIE = "false"
/>
<Config
Name = "Release"
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/AssemblyInfo.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/AssemblyInfo.cs Sat Jun 3 19:41:13 2006
@@ -26,7 +26,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.4.3.003")]
+[assembly: AssemblyVersion("1.9.0.003")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/DemoLib.csproj?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj Sat Jun 3 19:41:13 2006
@@ -82,7 +82,7 @@
<Reference
Name = "Lucene.Net"
AssemblyName = "Lucene.Net"
- HintPath = "..\..\bin\Release\Lucene.Net.dll"
+ HintPath = "..\..\Lucene.Net\bin\Debug\Lucene.Net.dll"
/>
</References>
</Build>
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/DemoLib.csproj.user?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/DemoLib.csproj.user Sat Jun 3 19:41:13 2006
@@ -1,7 +1,7 @@
<VisualStudioProject>
<CSHARP LastOpenVersion = "7.10.3077" >
<Build>
- <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.4.3.final-002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.final-001\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3.Final-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.RC2-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.RC1-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.001\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3-beta.001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.RC1-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.beta-003\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.beta-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-006\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-005\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-004\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-003\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-002\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.alpha-001\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.3\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.4.3.f
inal-002\bin\Release\;E:\Aroush.proj\Lucene.Net-1.4.3.final-003\bin\Debug\" >
+ <Settings ReferencePath = "E:\Aroush.proj\Lucene.Net-1.9.rc1-002.src\Lucene.Net\bin\Debug\;E:\Aroush.proj\Lucene.Net-1.9.rc1-003.src\Lucene.Net\bin\Debug\" >
<Config
Name = "Debug"
EnableASPDebugging = "false"
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/FileDocument.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/FileDocument.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/FileDocument.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/FileDocument.cs Sat Jun 3 19:41:13 2006
@@ -13,10 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
using System;
-using DateField = Lucene.Net.Documents.DateField;
+using DateTools = Lucene.Net.Documents.DateTools;
using Document = Lucene.Net.Documents.Document;
using Field = Lucene.Net.Documents.Field;
+
namespace Lucene.Net.Demo
{
@@ -24,39 +26,38 @@
public class FileDocument
{
- /// <summary>Makes a document for a File.
- /// <p>
- /// The document has three fields:
- /// <ul>
- /// <li><code>path</code>--containing the pathname of the file, as a stored,
- /// tokenized Field;
- /// <li><code>modified</code>--containing the last modified date of the file as
- /// a keyword Field as encoded by <a
- /// href="lucene.document.DateField.html">DateField</a>; and
- /// <li><code>contents</code>--containing the full contents of the file, as a
- /// Reader Field;
- /// </summary>
- public static Document Document(System.IO.FileInfo f)
+ /// <summary>Makes a document for a File.
+ /// <p>
+ /// The document has three fields:
+ /// <ul>
+ /// <li><code>path</code>--containing the pathname of the file, as a stored,
+ /// untokenized field;
+ /// <li><code>modified</code>--containing the last modified date of the file as
+ /// a field as created by <a
+ /// href="lucene.document.DateTools.html">DateTools</a>; and
+ /// <li><code>contents</code>--containing the full contents of the file, as a
+ /// Reader field;
+ /// </summary>
+ public static Document Document(System.IO.FileInfo f)
{
// make a new, empty document
Document doc = new Document();
- // Add the path of the file as a Field named "path". Use a Text Field, so
- // that the index stores the path, and so that the path is searchable
- doc.Add(Field.Text("path", f.FullName));
+ // Add the path of the file as a field named "path". Use a field that is
+ // indexed (i.e. searchable), but don't tokenize the field into words.
+ doc.Add(new Field("path", f.FullName, Field.Store.YES, Field.Index.UN_TOKENIZED));
- // Add the last modified date of the file a Field named "modified". Use a
- // Keyword Field, so that it's searchable, but so that no attempt is made
- // to tokenize the Field into words.
- doc.Add(Field.Keyword("modified", DateField.TimeToString(((f.LastWriteTime.Ticks - 621355968000000000) / 10000))));
+ // Add the last modified date of the file a field named "modified". Use
+ // a field that is indexed (i.e. searchable), but don't tokenize the field
+ // into words.
+ doc.Add(new Field("modified", DateTools.TimeToString(f.LastWriteTime.Ticks, DateTools.Resolution.MINUTE), Field.Store.YES, Field.Index.UN_TOKENIZED));
- // Add the contents of the file a Field named "contents". Use a Text
- // Field, specifying a Reader, so that the text of the file is tokenized.
- // ?? why doesn't FileReader work here ??
- System.IO.FileStream is_Renamed = new System.IO.FileStream(f.FullName, System.IO.FileMode.Open, System.IO.FileAccess.Read);
- System.IO.StreamReader reader = new System.IO.StreamReader(new System.IO.StreamReader(is_Renamed, System.Text.Encoding.Default).BaseStream, new System.IO.StreamReader(is_Renamed, System.Text.Encoding.Default).CurrentEncoding);
- doc.Add(Field.Text("contents", reader));
+ // Add the contents of the file to a field named "contents". Specify a Reader,
+ // so that the text of the file is tokenized and indexed, but not stored.
+ // Note that FileReader expects the file to be in the system's default encoding.
+ // If that's not the case searching for special characters will fail.
+ doc.Add(new Field("contents", new System.IO.StreamReader(f.FullName, System.Text.Encoding.Default)));
// return the document
return doc;
Modified: incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Entities.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Demo/DemoLib/HTML/Entities.cs?rev=411501&r1=411500&r2=411501&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Entities.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Demo/DemoLib/HTML/Entities.cs Sat Jun 3 19:41:13 2006
@@ -13,7 +13,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+
using System;
+
namespace Lucene.Net.Demo.Html
{