This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git.
from 4fde199 https://issues.apache.org/jira/browse/LUCENENET-607 (#224)
new b6d0cff Patched SolutionDir MSBuild property so it works for
dotnet.exe commands and updated project imports to utilize it
new 33df628 Made lucene-cli into a dotnet tool and updated the
documentation on how to install and use it
new b000354 Moved <Copyright> MSBuild element to common
Directory.Build.props file (imported automatically by every project)
new 1553a69 Consolidated common MSBuild properties for NuGet packages to
build/NuGet.props. Setup NuGet file to deploy LICENSE.txt rather than reference
the repository URL, which has been deprecated.
new 14af6d9 Fixed build.ps1 script so it will not try to pack new
projects that are added to the solution by default. Removed publish target, as
we are now packing the dotnet-cli as a dotnet tool. closes #228
new a703534 Moved all PackageReference versions to a common
build/Dependencies.props file. Also moved common test project references
(NUnit, Microsoft.NET.Test.Sdk, etc) into a common project file
build/TestReferences.Common.targets.
new c4b9987 BUG: Intermittent failures of
Lucene.Net.Facet.Taxonomy.WriterCache.TestCharBlockArray.TestArray(). The test
was not setup to with encoders that fallback to '?' for unmapped/invalid
characters. Also, the BinaryReader/BinaryWriter was too strict with regard to
validating surrogate pairs for this type of serialization, so implemented
custom extension methods over Stream that do not use encoding.
new 35bc429 Removed unnecessary commented tags from .csproj files.
new 921d9bb BUG: LUCENENET-602 - Some platforms fail to load codecs
seemingly because their types are discovered by using reflection. Supplying
local codec types explicitly will be faster, and possibly also more reliable
across platforms.
new 6eebe37 BUG: Fixes TestMultiTermConstantScore cleanup - safely call
Dispose by ensuring the reference variable is not null
new eda6201 BUG: Fixes BaseTestRangeFilter cleanup - safely call Dispose
by ensuring the reference variable is not null
new 6722861 build.ps1: Fixed tests and setup build to use a specific SDK
version (2.1.505)
new 2cfaf3a Lucene.Net.Support.IO.FileSupport::fileCanonPathCache needs
to be threadsafe
new 5aaf59a Use ConcurrentDictionary::GetOrAdd
new a2758d6 Use AddValueFactory
new fa93368 Lucene.Net.Support.IO.FileSupport: Removed unnecessary using
statement (closes #226)
new 7f6c785 fix locking/disposal bug
new c3e7ae3 Lucene.Net.Store.NativeFSLockFactory: Renamed local variables
to conform with naming rules (closes #222)
new e9e3baa Changes the "Improve this doc" button to always point to the
lucenenet github repo
new ca0cc77 Updated readme with the location of the documentation (closes
#225, applies to LUCENENET-589)
new 066d2c7 Added strong naming to Lucene.Net assemblies
new fd1e047 Added comment on Version.proj default
new 201c216 Remove LuceneDocsPlugin dummy pack target and cleaned up a
few comments
new f6dd70d Moved <AssemblyOriginatorKeyFile> to Directory.Build.props so
we don't have to specify in every project at the same directory depth. Moved
AssemblyKeys to Lucene.Net.Support. (closes #227, LUCENENET-608)
new 4d8fccb build.ps1: Removed unnecessary CommonAssemblyInfo.cs
generation and passed the FileVersion property explicitly
new 7f2b76a BUG: Fixed invalid method call introduced in #222 to
ClearLock that caused the path to double up, which caused the
GetCanonicalPathOfLockFile method to fail.
new 6e44ce6 Reverted Lucene.Net.Support.EqualityComparer implementation
that was created as an experiment to attempt to solve LUCENENET-602
new 66c27e1 Added missing guard clauses for HashMap and LinkedHashMap
constructors
new 53bf64c Upgraded to latest dotnet-install.ps1
The 29 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Version.proj => Directory.Build.props | 29 +-
Lucene.Net.sln | 15 +-
README.md | 6 +-
build/Dependencies.props | 41 +++
Version.proj => build/NuGet.props | 26 +-
build/TestReferences.Common.targets | 10 +
build/build.ps1 | 216 ++++++---------
build/dotnet-install.ps1 | 299 +++++++++++++++------
src/CommonAssemblyInfo.cs | 28 --
.../Support/IChecksum.cs => CommonAssemblyKeys.cs} | 31 +--
src/Directory.Build.props | 36 +++
.../Analysis/Util/CharArrayMap.cs | 2 +-
.../Lucene.Net.Analysis.Common.csproj | 20 +-
.../Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Analysis.Kuromoji.csproj | 24 +-
.../Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Analysis.Phonetic.csproj | 18 +-
.../Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Analysis.SmartCn.csproj | 23 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Analysis.Stempel.csproj | 18 +-
.../Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Benchmark.csproj | 30 +--
.../Properties/AssemblyInfo.cs | 6 +-
.../Lucene.Net.Classification.csproj | 20 +-
.../Properties/AssemblyInfo.cs | 2 +-
src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj | 22 +-
src/Lucene.Net.Codecs/Properties/AssemblyInfo.cs | 2 +-
src/Lucene.Net.Demo/Lucene.Net.Demo.csproj | 18 +-
src/Lucene.Net.Demo/Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Expressions.csproj | 35 +--
.../Properties/AssemblyInfo.cs | 2 +-
src/Lucene.Net.Facet/Lucene.Net.Facet.csproj | 22 +-
src/Lucene.Net.Facet/Properties/AssemblyInfo.cs | 5 +-
.../Taxonomy/Directory/DirectoryTaxonomyReader.cs | 3 +-
.../Taxonomy/WriterCache/CharBlockArray.cs | 91 ++++---
src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj | 20 +-
src/Lucene.Net.Grouping/Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Highlighter.csproj | 20 +-
.../Properties/AssemblyInfo.cs | 9 +-
src/Lucene.Net.Join/Lucene.Net.Join.csproj | 18 +-
src/Lucene.Net.Join/Properties/AssemblyInfo.cs | 5 +-
src/Lucene.Net.Memory/Lucene.Net.Memory.csproj | 18 +-
src/Lucene.Net.Memory/Properties/AssemblyInfo.cs | 5 +-
src/Lucene.Net.Misc/Lucene.Net.Misc.csproj | 17 +-
src/Lucene.Net.Misc/Properties/AssemblyInfo.cs | 5 +-
src/Lucene.Net.Queries/Lucene.Net.Queries.csproj | 20 +-
src/Lucene.Net.Queries/Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.QueryParser.csproj | 20 +-
.../Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Replicator.csproj | 22 +-
src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj | 20 +-
src/Lucene.Net.Sandbox/Properties/AssemblyInfo.cs | 2 +-
src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj | 20 +-
src/Lucene.Net.Spatial/Properties/AssemblyInfo.cs | 5 +-
src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj | 18 +-
src/Lucene.Net.Suggest/Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.TestFramework.csproj | 30 +--
.../Properties/AssemblyInfo.cs | 17 +-
.../Lucene.Net.Tests.Analysis.Common.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Analysis.Kuromoji.csproj | 24 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Analysis.Phonetic.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Analysis.SmartCn.csproj | 29 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Analysis.Stempel.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Benchmark.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Classification.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Codecs.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Demo.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Expressions.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Facet.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Taxonomy/WriterCache/TestCharBlockArray.cs | 25 +-
.../WriterCache/TestCompactLabelToOrdinal.cs | 14 +-
.../Lucene.Net.Tests.Grouping.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Highlighter.csproj | 24 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Join.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Memory.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Misc.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Queries.csproj | 25 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.QueryParser.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Replicator.csproj | 28 +-
.../Lucene.Net.Tests.Sandbox.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Spatial.csproj | 27 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../Lucene.Net.Tests.Suggest.csproj | 22 +-
.../Properties/AssemblyInfo.cs | 2 +-
src/Lucene.Net.Tests/Lucene.Net.Tests.csproj | 22 +-
src/Lucene.Net.Tests/Properties/AssemblyInfo.cs | 32 +--
src/Lucene.Net.Tests/Search/BaseTestRangeFilter.cs | 8 +-
.../Search/TestMultiTermConstantScore.cs | 29 +-
src/Lucene.Net.Tests/Store/TestLockFactory.cs | 2 +-
src/Lucene.Net.Tests/Support/TestLurchTable.cs | 18 +-
src/Lucene.Net.Tests/Support/TestTreeSet.cs | 14 +-
src/Lucene.Net/Lucene.Net.csproj | 43 ++-
src/Lucene.Net/Properties/AssemblyInfo.cs | 54 +---
src/Lucene.Net/Search/LiveFieldValues.cs | 2 +-
src/Lucene.Net/Store/NativeFSLockFactory.cs | 73 ++---
src/Lucene.Net/Support/C5.Support.cs | 4 +-
.../Support/Codecs/DefaultCodecFactory.cs | 29 +-
.../Codecs/DefaultDocValuesFormatFactory.cs | 31 ++-
.../Support/Codecs/DefaultPostingsFormatFactory.cs | 25 +-
.../Support/Compatibility/ConcurrentDictionary.cs | 2 +-
src/Lucene.Net/Support/EqualityComparer.cs | 124 ---------
src/Lucene.Net/Support/HashMap.cs | 15 +-
src/Lucene.Net/Support/IO/FileSupport.cs | 9 +-
src/Lucene.Net/Support/IO/StreamExtensions.cs | 102 +++++++
src/Lucene.Net/Support/LinkedHashMap.cs | 28 +-
src/Lucene.Net/Support/LurchTable.cs | 16 +-
src/Lucene.Net/Util/Fst/FST.cs | 8 +-
src/Lucene.Net/Util/PriorityQueue.cs | 2 +-
.../LuceneDocsPlugins/LuceneDocsPlugins.csproj | 2 +-
Version.proj => src/dotnet/Directory.Build.props | 23 +-
src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj | 25 +-
.../Lucene.Net.ICU/Properties/AssemblyInfo.cs | 5 +-
.../Lucene.Net.Replicator.AspNetCore.csproj | 23 +-
.../Lucene.Net.Tests.ICU.csproj | 27 +-
.../Properties/AssemblyInfo.cs | 2 +-
.../dotnet/tools/Directory.Build.props | 23 +-
.../Lucene.Net.Tests.Cli.csproj | 18 +-
.../docs/analysis/kuromoji-build-dictionary.md | 4 +-
.../docs/analysis/stempel-compile-stems.md | 4 +-
.../docs/analysis/stempel-patch-stems.md | 4 +-
.../lucene-cli/docs/benchmark/extract-reuters.md | 4 +-
.../lucene-cli/docs/benchmark/extract-wikipedia.md | 4 +-
.../docs/benchmark/find-quality-queries.md | 4 +-
.../lucene-cli/docs/benchmark/run-trec-eval.md | 4 +-
src/dotnet/tools/lucene-cli/docs/benchmark/run.md | 4 +-
.../tools/lucene-cli/docs/benchmark/sample.md | 4 +-
.../lucene-cli/docs/demo/associations-facets.md | 4 +-
.../tools/lucene-cli/docs/demo/distance-facets.md | 4 +-
.../docs/demo/expression-aggregation-facets.md | 4 +-
.../tools/lucene-cli/docs/demo/index-files.md | 6 +-
.../docs/demo/multi-category-lists-facets.md | 4 +-
.../tools/lucene-cli/docs/demo/range-facets.md | 4 +-
.../tools/lucene-cli/docs/demo/search-files.md | 8 +-
.../tools/lucene-cli/docs/demo/simple-facets.md | 4 +-
.../docs/demo/simple-sorted-set-facets.md | 4 +-
src/dotnet/tools/lucene-cli/docs/index.md | 16 +-
src/dotnet/tools/lucene-cli/docs/index/check.md | 6 +-
.../tools/lucene-cli/docs/index/copy-segments.md | 4 +-
.../tools/lucene-cli/docs/index/delete-segments.md | 4 +-
.../tools/lucene-cli/docs/index/extract-cfs.md | 6 +-
src/dotnet/tools/lucene-cli/docs/index/fix.md | 6 +-
src/dotnet/tools/lucene-cli/docs/index/list-cfs.md | 4 +-
.../lucene-cli/docs/index/list-high-freq-terms.md | 6 +-
.../tools/lucene-cli/docs/index/list-segments.md | 4 +-
.../lucene-cli/docs/index/list-taxonomy-stats.md | 4 +-
.../tools/lucene-cli/docs/index/list-term-info.md | 4 +-
src/dotnet/tools/lucene-cli/docs/index/merge.md | 4 +-
src/dotnet/tools/lucene-cli/docs/index/split.md | 6 +-
src/dotnet/tools/lucene-cli/docs/index/upgrade.md | 6 +-
.../tools/lucene-cli/docs/lock/stress-test.md | 4 +-
.../tools/lucene-cli/docs/lock/verify-server.md | 4 +-
src/dotnet/tools/lucene-cli/lucene-cli.csproj | 23 +-
websites/site/docfx.json | 6 +-
173 files changed, 1334 insertions(+), 1750 deletions(-)
copy Version.proj => Directory.Build.props (51%)
create mode 100644 build/Dependencies.props
copy Version.proj => build/NuGet.props (52%)
create mode 100644 build/TestReferences.Common.targets
delete mode 100644 src/CommonAssemblyInfo.cs
copy src/{Lucene.Net/Support/IChecksum.cs => CommonAssemblyKeys.cs} (60%)
create mode 100644 src/Directory.Build.props
delete mode 100644 src/Lucene.Net/Support/EqualityComparer.cs
create mode 100644 src/Lucene.Net/Support/IO/StreamExtensions.cs
copy Version.proj => src/dotnet/Directory.Build.props (50%)
copy Version.proj => src/dotnet/tools/Directory.Build.props (50%)