From b754a8cfe3e55626b7317e845379e1fd65e2787c Mon Sep 17 00:00:00 2001 From: Dmitry Cherniachenko <2sabio@gmail.com> Date: Sat, 23 Dec 2023 20:57:04 +0100 Subject: [PATCH] Add missing spaces in concatenated strings --- .../lucene90/Lucene90HnswVectorsFormat.java | 4 +- .../lucene91/Lucene91HnswVectorsFormat.java | 6 +-- .../lucene92/Lucene92HnswVectorsFormat.java | 4 +- .../lucene94/Lucene94HnswVectorsFormat.java | 6 +-- .../lucene95/Lucene95HnswVectorsFormat.java | 12 ++--- .../packed/TestLegacyPackedInts.java | 2 +- .../blockterms/FixedGapTermsIndexReader.java | 8 ++- ...ene99HnswScalarQuantizedVectorsFormat.java | 8 +-- .../lucene99/Lucene99HnswVectorsFormat.java | 12 ++--- .../apache/lucene/index/DocValuesUpdate.java | 4 +- .../apache/lucene/index/DocumentsWriter.java | 10 ++-- .../lucene/index/PendingSoftDeletes.java | 6 +-- .../lucene/index/SortingCodecReader.java | 5 +- .../apache/lucene/search/IndexSearcher.java | 12 ++--- .../org/apache/lucene/util/OfflineSorter.java | 14 +++--- .../apache/lucene/util/bkd/DocIdsWriter.java | 2 +- .../lucene/index/TestTieredMergePolicy.java | 50 ++++++++----------- .../apache/lucene/search/TestScorerPerf.java | 2 +- .../org/apache/lucene/demo/IndexFiles.java | 6 +-- .../join/GlobalOrdinalsWithScoreQuery.java | 6 +-- .../apache/lucene/misc/TestHighFreqTerms.java | 18 +++---- .../lucene/queries/mlt/TestMoreLikeThis.java | 24 ++++----- .../simple/TestSimpleQueryParser.java | 3 +- .../lucene/spatial/StrategyTestCase.java | 6 +-- .../lucene/tests/geo/BaseXYPointTestCase.java | 6 +-- .../index/BaseDocValuesFormatTestCase.java | 8 +-- .../index/BaseIndexFileFormatTestCase.java | 39 +++++++-------- .../tests/index/RandomPostingsTester.java | 6 +-- 28 files changed, 137 insertions(+), 152 deletions(-) diff --git a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene90/Lucene90HnswVectorsFormat.java b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene90/Lucene90HnswVectorsFormat.java index a5c7543ed25c..cc2421335646 100644 --- a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene90/Lucene90HnswVectorsFormat.java +++ b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene90/Lucene90HnswVectorsFormat.java @@ -94,8 +94,8 @@ public class Lucene90HnswVectorsFormat extends KnnVectorsFormat { /** * The number of candidate neighbors to track while searching the graph for each newly inserted - * node. Defaults to to {@link Lucene90HnswVectorsFormat#DEFAULT_BEAM_WIDTH}. See {@link - * HnswGraph} for details. + * node. Defaults to {@link Lucene90HnswVectorsFormat#DEFAULT_BEAM_WIDTH}. See {@link HnswGraph} + * for details. */ final int beamWidth; diff --git a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene91/Lucene91HnswVectorsFormat.java b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene91/Lucene91HnswVectorsFormat.java index 98fc4329c67b..7e4dd30dc100 100644 --- a/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene91/Lucene91HnswVectorsFormat.java +++ b/lucene/backward-codecs/src/java/org/apache/lucene/backward_codecs/lucene91/Lucene91HnswVectorsFormat.java @@ -70,7 +70,7 @@ *
  • [int8] if equals to -1, dense – all documents have values for a field. If equals to * 0, sparse – some documents missing values. *
  • array[int] for sparse case, the docids of documents having vectors, in order - *
  • [int] the maximum number of connections (neigbours) that each node can have + *
  • [int] the maximum number of connections (neighbours) that each node can have *
  • [int] number of levels in the graph *
  • Graph nodes by level. For each level * * @@ -84,7 +84,7 @@ *
  • DocIds were encoded by {@link IndexedDISI#writeBitSet(DocIdSetIterator, IndexOutput, byte)} *
  • OrdToDoc was encoded by {@link org.apache.lucene.util.packed.DirectMonotonicWriter}, note * that only in sparse case - *
  • [vint] the maximum number of connections (neigbours) that each node can have + *
  • [vint] the maximum number of connections (neighbours) that each node can have *
  • [vint] number of levels in the graph *
  • Graph nodes by level. For each level * * *
  • After all levels are encoded memory offsets for each node's neighbor nodes encoded by - * {@link org.apache.lucene.util.packed.DirectMonotonicWriter} are appened to the end of the + * {@link org.apache.lucene.util.packed.DirectMonotonicWriter} are appended to the end of the * file. * * @@ -71,7 +71,7 @@ *
  • DocIds were encoded by {@link IndexedDISI#writeBitSet(DocIdSetIterator, IndexOutput, byte)} *
  • OrdToDoc was encoded by {@link org.apache.lucene.util.packed.DirectMonotonicWriter}, note * that only in sparse case - *
  • [vint] the maximum number of connections (neigbours) that each node can have + *
  • [vint] the maximum number of connections (neighbours) that each node can have *
  • [vint] number of levels in the graph *
  • Graph nodes by level. For each level *