You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pa...@apache.org on 2026/09/09 14:00:55 UTC

(lucenenet) branch master updated: misc: fix typos (#1449)

This is an automated email from the ASF dual-hosted git repository.

paulirwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new 29f0f9663 misc: fix typos (#1449)
29f0f9663 is described below

commit 29f0f9663fecdb9507c285d2a1710805a053ff75
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Sep 10 00:00:48 2026 +1000

    misc: fix typos (#1449)
---
 .github/linters/codespell.txt                                       | 5 -----
 CHANGES.txt                                                         | 6 +++---
 .../Flexible/Precedence/PrecedenceQueryParser.cs                    | 4 ++--
 src/Lucene.Net/Document/Field.cs                                    | 4 ++--
 4 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/.github/linters/codespell.txt b/.github/linters/codespell.txt
index 822a9b309..7f331aa7d 100644
--- a/.github/linters/codespell.txt
+++ b/.github/linters/codespell.txt
@@ -16,10 +16,7 @@ alot
 alpha-numeric
 alredy
 als
-ambiguos
 ameba
-analyed
-analyer
 andd
 ane
 anothers
@@ -202,14 +199,12 @@ sate
 sav
 scrip
 selv
-sentances
 seperate
 seperated
 seperator
 ser
 sie
 sightly
-similiarty
 simle
 singe
 singl
diff --git a/CHANGES.txt b/CHANGES.txt
index 82d4e5909..51c65e7e2 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -419,7 +419,7 @@ Bug
 •[LUCENENET-473] - Fix linefeeds in more than 600 files
 •[LUCENENET-474] - Missing License Headers in trunk after 3.0.3 merge
 •[LUCENENET-475] - DanishStemmer doesn't work.
-•[LUCENENET-476] - ScoreDocs in TopDocs is ambiguos when using Visual Basic .Net
+•[LUCENENET-476] - ScoreDocs in TopDocs is ambiguous when using Visual Basic .Net
 •[LUCENENET-477] - NullReferenceException in ThreadLocal when Lucene.Net compiled for .Net 2.0
 •[LUCENENET-478] - Parts of QueryParser are outdated or weren't previously ported correctly
 •[LUCENENET-479] - QueryParser.SetEnablePositionIncrements(false) doesn't work
@@ -441,7 +441,7 @@ Improvement
 •[LUCENENET-506] - FastVectorHighlighter should use Query.ExtractTerms as fallback
 
 New Feature
-•[LUCENENET-463] - Would like to be able to use a SimpleSpanFragmenter for extrcting whole sentances
+•[LUCENENET-463] - Would like to be able to use a SimpleSpanFragmenter for extracting whole sentences
 •[LUCENENET-481] - Port Contrib.MemoryIndex
 
 Task
@@ -3615,7 +3615,7 @@ Bug fixes
  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
+ 6. Disable Similarity.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
diff --git a/src/Lucene.Net.QueryParser/Flexible/Precedence/PrecedenceQueryParser.cs b/src/Lucene.Net.QueryParser/Flexible/Precedence/PrecedenceQueryParser.cs
index 3132f3e93..1180292ef 100644
--- a/src/Lucene.Net.QueryParser/Flexible/Precedence/PrecedenceQueryParser.cs
+++ b/src/Lucene.Net.QueryParser/Flexible/Precedence/PrecedenceQueryParser.cs
@@ -44,8 +44,8 @@ public PrecedenceQueryParser()
         /// <summary>
         /// <see cref="StandardQueryParser.StandardQueryParser(Analyzer)"/>
         /// </summary>
-        public PrecedenceQueryParser(Analyzer analyer)
-            : base(analyer)
+        public PrecedenceQueryParser(Analyzer analyzer)
+            : base(analyzer)
         {
             SetQueryNodeProcessor(new PrecedenceQueryNodeProcessorPipeline(QueryConfigHandler));
         }
diff --git a/src/Lucene.Net/Document/Field.cs b/src/Lucene.Net/Document/Field.cs
index 4845ea76c..531465ba1 100644
--- a/src/Lucene.Net/Document/Field.cs
+++ b/src/Lucene.Net/Document/Field.cs
@@ -1410,9 +1410,9 @@ public static bool WithOffsets(this Field.TermVector tv)
         }
 
         [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]
-        public static Field.Index ToIndex(bool indexed, bool analyed)
+        public static Field.Index ToIndex(bool indexed, bool analyzed)
         {
-            return ToIndex(indexed, analyed, false);
+            return ToIndex(indexed, analyzed, false);
         }
 
         [Obsolete("This is here only to ease transition from the pre-4.0 APIs.")]