You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2023/09/29 11:14:35 UTC

[lucene] branch main updated: IndexingChain.validateMaxVectorDimension: add missing space in IllegalArgumentException wording (#12605)

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

cpoerschke pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new e02f1b1d298 IndexingChain.validateMaxVectorDimension: add missing space in IllegalArgumentException wording (#12605)
e02f1b1d298 is described below

commit e02f1b1d298df7d7570555810382ac0a46c9ddbd
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Fri Sep 29 12:14:29 2023 +0100

    IndexingChain.validateMaxVectorDimension: add missing space in IllegalArgumentException wording (#12605)
---
 lucene/core/src/java/org/apache/lucene/index/IndexingChain.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexingChain.java b/lucene/core/src/java/org/apache/lucene/index/IndexingChain.java
index 4d9167d93a0..cb2b1d1c1a8 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexingChain.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexingChain.java
@@ -843,8 +843,7 @@ final class IndexingChain implements Accountable {
       throw new IllegalArgumentException(
           "Field ["
               + fieldName
-              + "]"
-              + "vector's dimensions must be <= ["
+              + "] vector's dimensions must be <= ["
               + maxVectorDim
               + "]; got "
               + vectorDim);