diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 0124e73456..964d90f171 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -27,7 +27,6 @@ alow
alpha-numeric
alredy
als
-alternativley
ambiguos
ameba
americ
@@ -331,7 +330,6 @@ previoulsy
probablistic
profissional
profund
-programatically
programer
pronounciation
properies
@@ -356,11 +354,6 @@ releae
repot
reproducability
reproducable
-requries
-resoruces
-respnsibility
-returend
-returing
re-use
re-used
re-uses
@@ -405,7 +398,6 @@ sting
straightaway
stye
subseqence
-succesfully
sucess
suppresed
supress
@@ -438,10 +430,7 @@ tthe
udo
udpate
ue
-ugprade
unexpexted
-unknwown
-unkown
unser
unter
useable
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
index 37d05ac05e..64ecbeb2dc 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/HTMLStripCharFilter.cs
@@ -30505,7 +30505,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/// error messages for the codes above
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/En/PorterStemmer.cs b/src/Lucene.Net.Analysis.Common/Analysis/En/PorterStemmer.cs
index d324b2b97d..1618171644 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/En/PorterStemmer.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/En/PorterStemmer.cs
@@ -33,7 +33,7 @@ Porter stemmer in .NET. The original paper is in
See also http://www.tartarus.org/~martin/PorterStemmer/index.html
Bug 1 (reported by Gonzalo Parra 16/10/99) fixed as marked below.
- Tthe words 'aed', 'eed', 'oed' leave k at 'a' for step 3, and b[k-1]
+ The words 'aed', 'eed', 'oed' leave k at 'a' for step 3, and b[k-1]
is then out outside the bounds of b.
Similarly,
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
index ea090e96ac..29d0f32c7c 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/ClassicTokenizerImpl.cs
@@ -278,7 +278,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
index 887709cf99..ab9c5f92ea 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardTokenizerImpl.cs
@@ -864,7 +864,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
index b052983600..27bb16a6eb 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/StandardTokenizerImpl31.cs
@@ -612,7 +612,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
index 7ecc57b203..566067b515 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std31/UAX29URLEmailTokenizerImpl31.cs
@@ -3157,7 +3157,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/// error messages for the codes above
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
index 919eb3d035..2c36d1a949 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/StandardTokenizerImpl34.cs
@@ -628,7 +628,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
index b742f47792..9d1e83f236 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std34/UAX29URLEmailTokenizerImpl34.cs
@@ -3258,7 +3258,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
index bef0b7345c..2ba0d3fd56 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std36/UAX29URLEmailTokenizerImpl36.cs
@@ -3691,7 +3691,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
index b8f9cc6c52..64477605de 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/StandardTokenizerImpl40.cs
@@ -735,7 +735,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
index 9a62e86cf1..21696a99de 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/Std40/UAX29URLEmailTokenizerImpl40.cs
@@ -3903,7 +3903,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
index ffb4e3f8e5..5c77ac5d26 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Standard/UAX29URLEmailTokenizerImpl.cs
@@ -8997,7 +8997,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs b/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
index f8a8b91381..fbfb85edfd 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/Wikipedia/WikipediaTokenizerImpl.cs
@@ -351,7 +351,7 @@ private static int ZzUnpackTrans(string packed, int offset, int[] result)
/* error messages for the codes above */
private static readonly string[] ZZ_ERROR_MSG = {
- "Unkown internal scanner error",
+ "Unknown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
diff --git a/src/Lucene.Net.Misc/Index/Sorter/BlockJoinComparatorSource.cs b/src/Lucene.Net.Misc/Index/Sorter/BlockJoinComparatorSource.cs
index 28e70effd5..f6d3d7d8d8 100644
--- a/src/Lucene.Net.Misc/Index/Sorter/BlockJoinComparatorSource.cs
+++ b/src/Lucene.Net.Misc/Index/Sorter/BlockJoinComparatorSource.cs
@@ -248,7 +248,7 @@ internal static int Compare(int docID1, int docID2, FieldComparer[] comparers, i
{
for (int i = 0; i < comparers.Length; i++)
{
- // TODO: would be better if copy() didnt cause a term lookup in TermOrdVal & co,
+ // TODO: would be better if copy() didn't cause a term lookup in TermOrdVal & co,
// the segments are always the same here...
comparers[i].Copy(0, docID1);
comparers[i].SetBottom(0);
diff --git a/src/Lucene.Net.Misc/Index/Sorter/Sorter.cs b/src/Lucene.Net.Misc/Index/Sorter/Sorter.cs
index b2b920ddda..9b40e10ea8 100644
--- a/src/Lucene.Net.Misc/Index/Sorter/Sorter.cs
+++ b/src/Lucene.Net.Misc/Index/Sorter/Sorter.cs
@@ -288,7 +288,7 @@ public override int Compare(int docID1, int docID2)
{
for (int i = 0; i < comparers.Length; i++)
{
- // TODO: would be better if copy() didnt cause a term lookup in TermOrdVal & co,
+ // TODO: would be better if copy() didn't cause a term lookup in TermOrdVal & co,
// the segments are always the same here...
comparers[i].Copy(0, docID1);
comparers[i].SetBottom(0);
diff --git a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
index 17f4473676..6dff89a78a 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Standard/StandardQueryParser.cs
@@ -47,7 +47,7 @@ namespace Lucene.Net.QueryParsers.Flexible.Standard
///
/// queryParserHelper.Analyzer = new WhitespaceAnalyzer();
/// queryParserHelper.AllowLeadingWildcard = true;
- /// // Or alternativley use the query config handler returned by StandardQueryParser which is a
+ /// // Or alternatively use the query config handler returned by StandardQueryParser which is a
/// // StandardQueryConfigHandler:
/// queryParserHelper.QueryConfigHandler.Set(ConfigurationKeys.ALLOW_LEADING_WILDCARD, true);
///
diff --git a/src/Lucene.Net.Replicator/Revision.cs b/src/Lucene.Net.Replicator/Revision.cs
index ac96fe73ad..ba353c3366 100644
--- a/src/Lucene.Net.Replicator/Revision.cs
+++ b/src/Lucene.Net.Replicator/Revision.cs
@@ -59,7 +59,7 @@ public interface IRevision : IComparable
///
/// Returns a for the given and . It is the
- /// caller's respnsibility to dispose the when it has been
+ /// caller's responsibility to dispose the when it has been
/// consumed.
///
///
diff --git a/src/Lucene.Net.TestFramework/Store/SlowOpeningMockIndexInputWrapper.cs b/src/Lucene.Net.TestFramework/Store/SlowOpeningMockIndexInputWrapper.cs
index e307c048ec..e5a7ac5ba7 100644
--- a/src/Lucene.Net.TestFramework/Store/SlowOpeningMockIndexInputWrapper.cs
+++ b/src/Lucene.Net.TestFramework/Store/SlowOpeningMockIndexInputWrapper.cs
@@ -39,7 +39,7 @@ public SlowOpeningMockIndexInputWrapper(MockDirectoryWrapper dir, string name, I
try
{
base.Dispose();
- } // we didnt open successfully
+ } // we didn't open successfully
catch (Exception ignore) when (ignore.IsThrowable())
{
}
diff --git a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
index ffbc5154d7..4cd4f816d6 100644
--- a/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
+++ b/src/Lucene.Net.Tests/Search/TestControlledRealTimeReopenThread.cs
@@ -215,7 +215,7 @@ protected override void AddDocument(Term id, IEnumerable doc)
protected override void UpdateDocument(Term id, IEnumerable doc)
{
long gen = genWriter.UpdateDocument(id, doc);
- // Randomly verify the udpate "took":
+ // Randomly verify the update "took":
if (Random.Next(20) == 2)
{
if (Verbose)
@@ -730,9 +730,9 @@ public override void Run()
///
/// This test was purposely written in a way that demonstrates how to use the
- /// ControlledRealTimeReopenThread. It contains seperate Asserts for each of
+ /// ControlledRealTimeReopenThread. It contains separate Asserts for each of
/// several use cases rather then trying to brake these use cases up into
- /// seperate unit tests. This combined approach makes the behavior of
+ /// separate unit tests. This combined approach makes the behavior of
/// ControlledRealTimeReopenThread easier to understand.
///
// LUCENENET specific - An extra test to demonstrate use of ControlledRealTimeReopen.
@@ -759,7 +759,7 @@ public void TestStraightForwardDemonstration()
//Reopen SearcherManager after .2 secs if another thread IS waiting on a newer generation.
var controlledRealTimeReopenThread = new ControlledRealTimeReopenThread(trackingWriter, searcherManager, 1, 0.2);
- //Start() will start a seperate thread that will invoke the object's Run(). However,
+ //Start() will start a separate thread that will invoke the object's Run(). However,
//calling Run() directly would execute that code on the current thread rather then a new thread
//which would defeat the purpose of using controlledRealTimeReopenThread. This aspect of the API
//is not as intuitive as it could be. ie. Call Start() not Run().
@@ -965,7 +965,7 @@ Thread CreateWorker(int threadNum, ControlledRealTimeReopenThread
double minRefreshSecs = .2;
var controlledRealTimeReopenThread = new ControlledRealTimeReopenThread(trackingWriter, searcherManager, maxRefreshSecs, minRefreshSecs);
- //Start() will start a seperate thread that will invoke the object's Run(). However,
+ //Start() will start a separate thread that will invoke the object's Run(). However,
//calling Run() directly would execute that code on the current thread rather then a new thread
//which would defeat the purpose of using controlledRealTimeReopenThread. This aspect of the API
//is not as intuitive as it could be. ie. Call Start() not Run().
@@ -995,7 +995,7 @@ Thread CreateWorker(int threadNum, ControlledRealTimeReopenThread
}
//Now make sure that no thread waited longer then our min refresh time
- //plus a small fudge factor. Also verify that all threads resported back and
+ //plus a small fudge factor. Also verify that all threads reported back and
//each saw 2 records.
//Verify all threads reported back a result.
diff --git a/src/Lucene.Net.Tests/Search/TestFieldCache.cs b/src/Lucene.Net.Tests/Search/TestFieldCache.cs
index bfb5b9d469..9908180b77 100644
--- a/src/Lucene.Net.Tests/Search/TestFieldCache.cs
+++ b/src/Lucene.Net.Tests/Search/TestFieldCache.cs
@@ -354,7 +354,7 @@ public virtual void Test()
// getDocTermOrds
SortedSetDocValues termOrds = cache.GetDocTermOrds(reader, "theRandomUnicodeMultiValuedField");
int numEntries = cache.GetCacheEntries().Length;
- // ask for it again, and check that we didnt create any additional entries:
+ // ask for it again, and check that we didn't create any additional entries:
termOrds = cache.GetDocTermOrds(reader, "theRandomUnicodeMultiValuedField");
Assert.AreEqual(numEntries, cache.GetCacheEntries().Length);
diff --git a/src/Lucene.Net/Document/FieldType.cs b/src/Lucene.Net/Document/FieldType.cs
index 00ea3019a1..19804295d6 100644
--- a/src/Lucene.Net/Document/FieldType.cs
+++ b/src/Lucene.Net/Document/FieldType.cs
@@ -83,7 +83,7 @@ private void CheckIfFrozen()
/// changes.
///
/// this
- // LUCENENET specific - returing self to make it possible to chain this to newing up the class so we can set and freeze on a single line.
+ // LUCENENET specific - returning self to make it possible to chain this to newing up the class so we can set and freeze on a single line.
// This is especially important for static field initializers.
public virtual FieldType Freeze()
{
diff --git a/src/Lucene.Net/Index/IndexWriter.cs b/src/Lucene.Net/Index/IndexWriter.cs
index 72e3b0d49c..9b5fac722d 100644
--- a/src/Lucene.Net/Index/IndexWriter.cs
+++ b/src/Lucene.Net/Index/IndexWriter.cs
@@ -1174,7 +1174,7 @@ public void Dispose(bool waitForMerges)
/// then return.
/// true to release both managed and unmanaged resources;
/// false to release only unmanaged resources.
- // LUCENENET specific - Added this overload to allow subclasses to dispose resoruces
+ // LUCENENET specific - Added this overload to allow subclasses to dispose resources
// in one place without also having to override Dispose(bool).
[MethodImpl(MethodImplOptions.NoInlining)] // Stack trace needed intact in TestConcurrentMergeScheduler and TestIndexWriterWithThreads
protected virtual void Dispose(bool disposing, bool waitForMerges)
diff --git a/src/Lucene.Net/Index/SegmentInfos.cs b/src/Lucene.Net/Index/SegmentInfos.cs
index 89aaac4c72..4f0b989254 100644
--- a/src/Lucene.Net/Index/SegmentInfos.cs
+++ b/src/Lucene.Net/Index/SegmentInfos.cs
@@ -694,7 +694,7 @@ private void Write(Directory directory)
if (Debugging.AssertsEnabled) Debugging.Assert(si.Dir == directory);
// If this segment is pre-4.x, perform a one-time
- // "ugprade" to write the .si file for it:
+ // "upgrade" to write the .si file for it:
string version = si.Version;
if (version is null || StringHelper.VersionComparer.Compare(version, "4.0") < 0)
{
@@ -880,7 +880,7 @@ public object Clone()
public long Generation => generation;
///
- /// Returns last succesfully read or written generation.
+ /// Returns last successfully read or written generation.
public long LastGeneration => lastGeneration;
///
@@ -1509,7 +1509,7 @@ internal void ApplyMergeChanges(MergePolicy.OneMerge merge, bool dropSegment)
segments.RemoveRange(newSegIdx, segments.Count - newSegIdx); // LUCENENET: Converted end index to length
// Either we found place to insert segment, or, we did
- // not, but only because all segments we merged becamee
+ // not, but only because all segments we merged became
// deleted while we are merging, in which case it should
// be the case that the new segment is also all deleted,
// we insert it at the beginning if it should not be dropped:
diff --git a/src/Lucene.Net/Search/SearcherLifetimeManager.cs b/src/Lucene.Net/Search/SearcherLifetimeManager.cs
index aa5d3dc168..78c2e8e27a 100644
--- a/src/Lucene.Net/Search/SearcherLifetimeManager.cs
+++ b/src/Lucene.Net/Search/SearcherLifetimeManager.cs
@@ -44,7 +44,7 @@ namespace Lucene.Net.Search
/// searcher:
///
///
- /// // Record the current searcher, and save the returend
+ /// // Record the current searcher, and save the returned
/// // token into user's search results (eg as a hidden
/// // HTML form field):
/// long token = mgr.Record(searcher);
diff --git a/src/Lucene.Net/Store/NativeFSLockFactory.cs b/src/Lucene.Net/Store/NativeFSLockFactory.cs
index bac134c5b7..a6fe243c2e 100644
--- a/src/Lucene.Net/Store/NativeFSLockFactory.cs
+++ b/src/Lucene.Net/Store/NativeFSLockFactory.cs
@@ -32,7 +32,7 @@ namespace Lucene.Net.Store
/// could be left when the runtime exits abnormally.
///
/// The primary benefit of is
- /// that locks (not the lock file itsself) will be properly
+ /// that locks (not the lock file itself) will be properly
/// removed (by the OS) if the runtime has an abnormal exit.
///
/// Note that, unlike , the existence of
@@ -176,7 +176,7 @@ public NativeFSLockFactory(DirectoryInfo lockDir)
SetLockDir(lockDir);
}
- // LUCENENET: NativeFSLocks in Java are infact singletons; this is how we mimick that to track instances and make sure
+ // LUCENENET: NativeFSLocks in Java are in fact singletons; this is how we mimic that to track instances and make sure
// IW.Unlock and IW.IsLocked works correctly
internal static readonly Dictionary _locks = new Dictionary();
diff --git a/src/Lucene.Net/Util/Packed/PackedInts.cs b/src/Lucene.Net/Util/Packed/PackedInts.cs
index c5be208dbe..1344d930f8 100644
--- a/src/Lucene.Net/Util/Packed/PackedInts.cs
+++ b/src/Lucene.Net/Util/Packed/PackedInts.cs
@@ -1095,7 +1095,7 @@ public static Reader GetDirectReaderNoHeader(IndexInput @in, Format format, int
}
else
{
- throw AssertionError.Create("Unknwown format: " + format);
+ throw AssertionError.Create("Unknown format: " + format);
}
}
diff --git a/src/dotnet/tools/lucene-cli/Resources/Strings.Designer.cs b/src/dotnet/tools/lucene-cli/Resources/Strings.Designer.cs
index f8b24d34a5..5ee2a2fb61 100644
--- a/src/dotnet/tools/lucene-cli/Resources/Strings.Designer.cs
+++ b/src/dotnet/tools/lucene-cli/Resources/Strings.Designer.cs
@@ -369,7 +369,7 @@ public static string BenchmarkRunTrecEvalCommandTopicsFileDescription {
}
///
- /// Looks up a localized string similar to Sample of a performance test written programatically instead of using an algorithm file..
+ /// Looks up a localized string similar to Sample of a performance test written programmatically instead of using an algorithm file..
///
public static string BenchmarkSampleCommandDescription {
get {
diff --git a/src/dotnet/tools/lucene-cli/Resources/Strings.resx b/src/dotnet/tools/lucene-cli/Resources/Strings.resx
index bf86232510..c5f8c4b220 100644
--- a/src/dotnet/tools/lucene-cli/Resources/Strings.resx
+++ b/src/dotnet/tools/lucene-cli/Resources/Strings.resx
@@ -20,18 +20,18 @@
-->
-
@@ -251,7 +251,7 @@ See this blog post (http://mentaldetritus.blogspot.com/2013/03/compiling-custom-
Input file containing queries.
- Sample of a performance test written programatically instead of using an algorithm file.
+ Sample of a performance test written programmatically instead of using an algorithm file.
Cross check term vectors.
@@ -335,7 +335,7 @@ See this blog post (http://mentaldetritus.blogspot.com/2013/03/compiling-custom-
Checks an index for problematic segments.
- Basic tool to check the health of an index.
+ Basic tool to check the health of an index.
As this tool checks every byte in the index, on a large index it can take quite a long time to run.
@@ -395,7 +395,7 @@ In order to make the extracted version of the index work, you have to copy the s
Basic tool to check and fix the health of an index and write a new segments file that removes reference to problematic segments.
-As this tool checks every byte in the index, on a large index it can take quite a long time to run.
+As this tool checks every byte in the index, on a large index it can take quite a long time to run.
WARNING: This command should only be used on an emergency basis as it will cause documents (perhaps many) to be permanently removed from the index. Always make a backup copy of your index before running this! Do not run this tool on an index that is actively being written to. You have been warned!
@@ -493,9 +493,9 @@ NOTE: This tool is unaware of documents added automatically via IndexWriter.AddD
Upgrades all segments of an index from previous Lucene.Net versions to the current segment file format.
- This tool keeps only the last commit in an index; for this reason, if the incoming index has more than one commit, the tool refuses to run by default. Specify --delete-prior-commits to override this, allowing the tool to delete all but the last commit.
+ This tool keeps only the last commit in an index; for this reason, if the incoming index has more than one commit, the tool refuses to run by default. Specify --delete-prior-commits to override this, allowing the tool to delete all but the last commit.
-Specify an FSDirectory implementation through the --directory-type option to force its use. If not qualified by an AssemblyName, the Lucene.Net.dll assembly will be used.
+Specify an FSDirectory implementation through the --directory-type option to force its use. If not qualified by an AssemblyName, the Lucene.Net.dll assembly will be used.
WARNING: This tool may reorder document IDs! Be sure to make a backup of your index before you use this. Also, ensure you are using the correct version of this utility to match your application's version of Lucene.Net. This operation cannot be reversed.
@@ -565,4 +565,4 @@ WARNING: This tool may reorder document IDs! Be sure to make a backup of your in
View the source code of the demo.
-
\ No newline at end of file
+
diff --git a/src/dotnet/tools/lucene-cli/docs/benchmark/sample.md b/src/dotnet/tools/lucene-cli/docs/benchmark/sample.md
index 4bcc5bdc58..4007d505cd 100644
--- a/src/dotnet/tools/lucene-cli/docs/benchmark/sample.md
+++ b/src/dotnet/tools/lucene-cli/docs/benchmark/sample.md
@@ -2,7 +2,7 @@
### Name
-`benchmark-sample` - Sample of a performance test written programatically instead of using an algorithm file.
+`benchmark-sample` - Sample of a performance test written programmatically instead of using an algorithm file.
### Synopsis
diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index 604b8097c7..5cd6e218e2 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -113,7 +113,7 @@ $DocFxJsonContent._luceneNetRel = $BaseUrl + "/"
#$DocFxJsonContent._gitContribute.branch = "docs/$LuceneNetVersion"
$DocFxJsonContent | ConvertTo-Json -depth 100 | Set-Content $DocFxGlobalJson
-# NOTE: The order of these depends on if one of the projects requries the xref map of another, normally all require the core xref map
+# NOTE: The order of these depends on if one of the projects requires the xref map of another, normally all require the core xref map
# Some might also be duplicated; this is intentional - do not remove duplicates!
# This is because of circular dependencies between projects' xref maps.
$DocFxJsonMeta = @(