You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gs...@apache.org on 2024/07/31 18:00:39 UTC

(lucene) branch main updated: Fix comments containing 'the this' (#13624)

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

gsmiller 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 255a2fcf9ce Fix comments containing 'the this' (#13624)
255a2fcf9ce is described below

commit 255a2fcf9ced25e4d9615cc1304f8224522c2e5a
Author: Jakub Slowinski <32...@users.noreply.github.com>
AuthorDate: Wed Jul 31 19:00:34 2024 +0100

    Fix comments containing 'the this' (#13624)
---
 lucene/facet/src/java/org/apache/lucene/facet/FacetField.java           | 2 +-
 lucene/join/src/java/org/apache/lucene/search/join/JoinUtil.java        | 2 +-
 lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java  | 2 +-
 .../java/org/apache/lucene/search/suggest/document/SuggestField.java    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java b/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
index a0fc42599c6..225d8e14e28 100644
--- a/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
+++ b/lucene/facet/src/java/org/apache/lucene/facet/FacetField.java
@@ -42,7 +42,7 @@ public class FacetField extends Field {
   /** Path for this field. */
   public final String[] path;
 
-  /** Creates the this from {@code dim} and {@code path}. */
+  /** Creates this from {@code dim} and {@code path}. */
   public FacetField(String dim, String... path) {
     super("dummy", TYPE);
     verifyLabel(dim);
diff --git a/lucene/join/src/java/org/apache/lucene/search/join/JoinUtil.java b/lucene/join/src/java/org/apache/lucene/search/join/JoinUtil.java
index 079baa13942..2cf4c394460 100644
--- a/lucene/join/src/java/org/apache/lucene/search/join/JoinUtil.java
+++ b/lucene/join/src/java/org/apache/lucene/search/join/JoinUtil.java
@@ -470,7 +470,7 @@ public final class JoinUtil {
    * <p>This join has certain restrictions and requirements: 1) A document can only refer to one
    * other document. (but can be referred by one or more documents) 2) Documents on each side of the
    * join must be distinguishable. Typically this can be done by adding an extra field that
-   * identifies the "from" and "to" side and then the fromQuery and toQuery must take the this into
+   * identifies the "from" and "to" side and then the fromQuery and toQuery must take this into
    * account. 3) There must be a single sorted doc values join field used by both the "from" and
    * "to" documents. This join field should store the join values as UTF-8 strings. 4) An ordinal
    * map must be provided that is created on top of the join field.
diff --git a/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
index ff65bca6a16..08fb1cf6b5b 100644
--- a/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
+++ b/lucene/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
@@ -281,7 +281,7 @@ public class MemoryIndex {
       /**
        * Returns the offset of the currently written slice. The returned value should be used as the
        * end offset to initialize a {@link SliceReader} once this slice is fully written or to reset
-       * the this writer if another slice needs to be written.
+       * the writer if another slice needs to be written.
        */
       public int getCurrentOffset() {
         return offset;
diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/SuggestField.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/SuggestField.java
index 82484e8a595..a595197ca79 100644
--- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/SuggestField.java
+++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/SuggestField.java
@@ -42,7 +42,7 @@ import org.apache.lucene.util.BytesRef;
  * document.add(new SuggestField(name, "suggestion", 4));
  * </pre>
  *
- * To perform document suggestions based on the this field, use {@link
+ * To perform document suggestions based on the field, use {@link
  * SuggestIndexSearcher#suggest(CompletionQuery, int, boolean)}
  *
  * @lucene.experimental