diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java index d7d577eb8a8..96fc2dff18a 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JakartaRegexpCapabilities.java @@ -27,10 +27,10 @@ import java.lang.reflect.Method; /** * Implementation tying Jakarta - * Regexp to RegexQuery. Jakarta Regepx internally supports a - * {@link #prefix} implementation which can offer performance gains under - * certain circumstances. Yet, the implementation appears to be rather shaky as - * it doesn't always provide a prefix even if one would exist. + * Regexp to RegexQuery. Jakarta Regexp internally supports a + * {@link RegexCapabilities.RegexMatcher#prefix()} implementation which can offer + * performance gains under certain circumstances. Yet, the implementation appears + * to be rather shaky as it doesn't always provide a prefix even if one would exist. */ public class JakartaRegexpCapabilities implements RegexCapabilities { private static Field prefixField; diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java index b125208d6b4..f1a238d74cc 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/JavaUtilRegexCapabilities.java @@ -27,8 +27,9 @@ import org.apache.lucene.util.UnicodeUtil; * An implementation tying Java's built-in java.util.regex to RegexQuery. * * Note that because this implementation currently only returns null from - * {@link #prefix} that queries using this implementation will enumerate and - * attempt to {@link #match} each term for the specified field in the index. + * {@link RegexCapabilities.RegexMatcher#prefix()} that queries using this implementation + * will enumerate and attempt to {@link RegexCapabilities.RegexMatcher#match(BytesRef)} each + * term for the specified field in the index. */ public class JavaUtilRegexCapabilities implements RegexCapabilities { private int flags = 0; diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java index 679fde5cd60..e8c6daed713 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexCapabilities.java @@ -27,7 +27,7 @@ import org.apache.lucene.util.BytesRef; */ public interface RegexCapabilities extends Serializable { /** - * Called by the constructor of {@link RegexTermEnum} allowing + * Called by the constructor of {@link RegexTermsEnum} allowing * implementations to cache a compiled version of the regular * expression pattern. * @@ -38,7 +38,7 @@ public interface RegexCapabilities extends Serializable { public interface RegexMatcher { /** * - * @param string + * @param term The term in bytes. * @return true if string matches the pattern last passed to {@link #compile}. */ public boolean match(BytesRef term); diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexQuery.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexQuery.java index 733d81af488..61e26c73ada 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexQuery.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/regex/RegexQuery.java @@ -29,7 +29,7 @@ import java.io.IOException; * The expressions supported depend on the regular expression implementation * used by way of the {@link RegexCapabilities} interface. * - * @see RegexTermEnum + * @see RegexTermsEnum */ public class RegexQuery extends MultiTermQuery implements RegexQueryCapable { private RegexCapabilities regexImpl = new JavaUtilRegexCapabilities(); diff --git a/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java b/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java index 53df3c30bc6..d8d4af6e044 100644 --- a/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java +++ b/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/MoreLikeThis.java @@ -520,7 +520,6 @@ public final class MoreLikeThis { * * @param stopWords set of stopwords, if null it means to allow stop words * - * @see org.apache.lucene.analysis.StopFilter#makeStopSet StopFilter.makeStopSet() * @see #getStopWords */ public void setStopWords(Set stopWords) { diff --git a/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java b/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java index e0d829e78a7..3e4f8ee0306 100644 --- a/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java +++ b/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java @@ -56,7 +56,7 @@ public class DirectSpellChecker { * Note: this is the fastest distance metric, because Levenshtein is used * to draw candidates from the term dictionary: this just re-uses the scoring. *

- * Note also that this metric differs in subtle ways from {@link LevenshteinDistance}: + * Note also that this metric differs in subtle ways from {@link LevensteinDistance}: *

diff --git a/modules/analysis/icu/src/java/overview.html b/modules/analysis/icu/src/java/overview.html index 47a833ca88a..72d4a7b0fa7 100644 --- a/modules/analysis/icu/src/java/overview.html +++ b/modules/analysis/icu/src/java/overview.html @@ -102,8 +102,8 @@ algorithm.
  • Effective Locale-specific normalization (case differences, diacritics, etc.). - ({@link org.apache.lucene.analysis.LowerCaseFilter} and - {@link org.apache.lucene.analysis.ASCIIFoldingFilter} provide these services + ({@link org.apache.lucene.analysis.core.LowerCaseFilter} and + {@link org.apache.lucene.analysis.miscellaneous.ASCIIFoldingFilter} provide these services in a generic way that doesn't take into account locale-specific needs.)
  • diff --git a/modules/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java b/modules/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java index 30396be310d..0b8c4e815a5 100644 --- a/modules/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java +++ b/modules/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java @@ -113,7 +113,7 @@ public final class PolishAnalyzer extends StopwordAnalyzerBase { /** * Builds an analyzer with the given stop words. If a non-empty stem exclusion set is - * provided this analyzer will add a {@link KeywordMarkerTokenFilter} before + * provided this analyzer will add a {@link KeywordMarkerFilter} before * stemming. * * @param matchVersion lucene compatibility version