From c07df196664b84cd2d58ce1ba9040a6b06e0a3c5 Mon Sep 17 00:00:00 2001 From: Alexandre Rafalovitch Date: Tue, 6 Nov 2018 07:36:14 -0500 Subject: [PATCH] SOLR-12956: Add Javadoc @since tag to Analyzer component classes --- .../java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java | 3 ++- .../lucene/analysis/ar/ArabicNormalizationFilterFactory.java | 2 ++ .../apache/lucene/analysis/ar/ArabicStemFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/bg/BulgarianAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/bn/BengaliAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java | 2 ++ .../apache/lucene/analysis/br/BrazilianStemFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java | 2 ++ .../analysis/charfilter/HTMLStripCharFilterFactory.java | 2 ++ .../src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java | 2 ++ .../lucene/analysis/commongrams/CommonGramsFilterFactory.java | 2 ++ .../analysis/commongrams/CommonGramsQueryFilterFactory.java | 2 ++ .../compound/DictionaryCompoundWordTokenFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/core/KeywordAnalyzer.java | 2 ++ .../apache/lucene/analysis/core/KeywordTokenizerFactory.java | 2 ++ .../apache/lucene/analysis/core/LetterTokenizerFactory.java | 2 ++ .../apache/lucene/analysis/core/LowerCaseFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/core/SimpleAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/core/StopAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/core/StopFilterFactory.java | 2 ++ .../lucene/analysis/core/UnicodeWhitespaceAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/core/WhitespaceAnalyzer.java | 2 ++ .../lucene/analysis/core/WhitespaceTokenizerFactory.java | 2 ++ .../org/apache/lucene/analysis/custom/CustomAnalyzer.java | 2 ++ .../src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/da/DanishAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/de/GermanAnalyzer.java | 2 ++ .../apache/lucene/analysis/de/GermanStemFilterFactory.java | 2 ++ .../src/java/org/apache/lucene/analysis/el/GreekAnalyzer.java | 2 ++ .../lucene/analysis/el/GreekLowerCaseFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/en/EnglishAnalyzer.java | 2 ++ .../apache/lucene/analysis/en/PorterStemFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/es/SpanishAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/fa/PersianAnalyzer.java | 2 ++ .../apache/lucene/analysis/fa/PersianCharFilterFactory.java | 2 ++ .../lucene/analysis/fa/PersianNormalizationFilterFactory.java | 2 ++ .../java/org/apache/lucene/analysis/fi/FinnishAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/fr/FrenchAnalyzer.java | 2 ++ .../src/java/org/apache/lucene/analysis/ga/IrishAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/gl/GalicianAnalyzer.java | 2 ++ .../src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/hu/HungarianAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/id/IndonesianAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/it/ItalianAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/lt/LithuanianAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/lv/LatvianAnalyzer.java | 2 ++ .../analysis/miscellaneous/ASCIIFoldingFilterFactory.java | 2 ++ .../analysis/miscellaneous/ConditionalTokenFilterFactory.java | 2 ++ .../analysis/miscellaneous/HyphenatedWordsFilterFactory.java | 2 ++ .../lucene/analysis/miscellaneous/KeepWordFilterFactory.java | 2 ++ .../lucene/analysis/miscellaneous/LengthFilterFactory.java | 2 ++ .../analysis/miscellaneous/LimitTokenCountAnalyzer.java | 2 ++ .../analysis/miscellaneous/PerFieldAnalyzerWrapper.java | 2 ++ .../analysis/miscellaneous/ProtectedTermFilterFactory.java | 2 ++ .../miscellaneous/RemoveDuplicatesTokenFilterFactory.java | 2 ++ .../lucene/analysis/miscellaneous/TrimFilterFactory.java | 2 ++ .../analysis/miscellaneous/TypeAsSynonymFilterFactory.java | 2 ++ .../analysis/miscellaneous/WordDelimiterFilterFactory.java | 2 ++ .../apache/lucene/analysis/ngram/EdgeNGramFilterFactory.java | 2 ++ .../lucene/analysis/ngram/EdgeNGramTokenizerFactory.java | 2 ++ .../org/apache/lucene/analysis/ngram/NGramFilterFactory.java | 2 ++ .../apache/lucene/analysis/ngram/NGramTokenizerFactory.java | 2 ++ .../src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/no/NorwegianAnalyzer.java | 2 ++ .../lucene/analysis/path/PathHierarchyTokenizerFactory.java | 2 ++ .../lucene/analysis/pattern/PatternReplaceFilterFactory.java | 2 ++ .../analysis/pattern/SimplePatternSplitTokenizerFactory.java | 2 ++ .../analysis/pattern/SimplePatternTokenizerFactory.java | 2 ++ .../analysis/payloads/DelimitedPayloadTokenFilterFactory.java | 2 ++ .../analysis/payloads/NumericPayloadTokenFilterFactory.java | 2 ++ .../payloads/TokenOffsetPayloadTokenFilterFactory.java | 2 ++ .../analysis/payloads/TypeAsPayloadTokenFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/pt/PortugueseAnalyzer.java | 2 ++ .../lucene/analysis/query/QueryAutoStopWordAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/ro/RomanianAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/ru/RussianAnalyzer.java | 2 ++ .../lucene/analysis/shingle/FixedShingleFilterFactory.java | 2 ++ .../lucene/analysis/shingle/ShingleAnalyzerWrapper.java | 2 ++ .../apache/lucene/analysis/shingle/ShingleFilterFactory.java | 2 ++ .../lucene/analysis/snowball/SnowballPorterFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/standard/ClassicAnalyzer.java | 2 ++ .../lucene/analysis/standard/ClassicTokenizerFactory.java | 2 ++ .../lucene/analysis/standard/StandardTokenizerFactory.java | 2 ++ .../lucene/analysis/standard/UAX29URLEmailAnalyzer.java | 2 ++ .../analysis/standard/UAX29URLEmailTokenizerFactory.java | 2 ++ .../java/org/apache/lucene/analysis/sv/SwedishAnalyzer.java | 2 ++ .../apache/lucene/analysis/synonym/SynonymFilterFactory.java | 4 +++- .../src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/th/ThaiTokenizerFactory.java | 2 ++ .../java/org/apache/lucene/analysis/tr/TurkishAnalyzer.java | 2 ++ .../org/apache/lucene/analysis/util/CharFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/util/ElisionFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/util/TokenFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/util/TokenizerFactory.java | 2 ++ .../lucene/analysis/wikipedia/WikipediaTokenizerFactory.java | 2 ++ .../org/apache/lucene/collation/CollationKeyAnalyzer.java | 2 ++ .../lucene/analysis/icu/ICUNormalizer2CharFilterFactory.java | 2 ++ .../lucene/analysis/icu/segmentation/ICUTokenizerFactory.java | 2 ++ .../org/apache/lucene/collation/ICUCollationKeyAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/ja/JapaneseAnalyzer.java | 2 ++ .../analysis/ja/JapaneseIterationMarkCharFilterFactory.java | 2 ++ .../apache/lucene/analysis/ja/JapaneseTokenizerFactory.java | 2 ++ .../apache/lucene/analysis/morfologik/MorfologikAnalyzer.java | 2 ++ .../lucene/analysis/uk/UkrainianMorfologikAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/ko/KoreanAnalyzer.java | 2 ++ .../analysis/ko/KoreanPartOfSpeechStopFilterFactory.java | 2 ++ .../lucene/analysis/ko/KoreanReadingFormFilterFactory.java | 2 ++ .../org/apache/lucene/analysis/ko/KoreanTokenizerFactory.java | 2 ++ .../analysis/phonetic/DoubleMetaphoneFilterFactory.java | 2 ++ .../lucene/analysis/phonetic/PhoneticFilterFactory.java | 2 ++ .../lucene/analysis/cn/smart/HMMChineseTokenizerFactory.java | 2 ++ .../apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.java | 2 ++ .../java/org/apache/lucene/analysis/pl/PolishAnalyzer.java | 2 ++ lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java | 2 ++ .../src/java/org/apache/lucene/analysis/AnalyzerWrapper.java | 2 ++ .../org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java | 4 +++- .../java/org/apache/lucene/analysis/StopwordAnalyzerBase.java | 4 +++- .../org/apache/lucene/analysis/standard/StandardAnalyzer.java | 2 ++ .../lucene/search/suggest/document/CompletionAnalyzer.java | 2 ++ solr/CHANGES.txt | 2 ++ .../apache/solr/analysis/ReversedWildcardFilterFactory.java | 1 + solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java | 1 + .../src/java/org/apache/solr/analysis/TokenizerChain.java | 2 ++ solr/core/src/java/org/apache/solr/schema/FieldType.java | 2 +- 127 files changed, 254 insertions(+), 5 deletions(-) diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java index 61100dd82a6..90a60a5f5cd 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java @@ -46,7 +46,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; *
  • {@link ArabicStemFilter}: Arabic light stemming *
  • Arabic stop words file: a set of default Arabic stop words. * - * + * + * @since 3.1 */ public final class ArabicAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicNormalizationFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicNormalizationFilterFactory.java index 05686142b0c..8921cd8e0a6 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicNormalizationFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicNormalizationFilterFactory.java @@ -34,6 +34,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.ArabicNormalizationFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ArabicNormalizationFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicStemFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicStemFilterFactory.java index ec8b2ed3487..c83ab87ab96 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicStemFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicStemFilterFactory.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.ArabicStemFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ArabicStemFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/BulgarianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/BulgarianAnalyzer.java index 4873b0a8368..7077d2b4d92 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/BulgarianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/bg/BulgarianAnalyzer.java @@ -36,6 +36,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; * This analyzer implements light-stemming as specified by: Searching * Strategies for the Bulgarian Language * http://members.unine.ch/jacques.savoy/Papers/BUIR.pdf + * + * @since 3.1 */ public final class BulgarianAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/bn/BengaliAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/bn/BengaliAnalyzer.java index 1e43f4ab969..fe4d08a28d2 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/bn/BengaliAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/bn/BengaliAnalyzer.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; /** * Analyzer for Bengali. + * + * @since 7.1.0 */ public final class BengaliAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java index 23f168d83c6..93c565fc8f1 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianAnalyzer.java @@ -44,6 +44,8 @@ import org.apache.lucene.util.IOUtils; * *

    NOTE: This class uses the same {@link org.apache.lucene.util.Version} * dependent settings as {@link StandardAnalyzer}.

    + * + * @since 3.1 */ public final class BrazilianAnalyzer extends StopwordAnalyzerBase { /** File containing default Brazilian Portuguese stopwords. */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianStemFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianStemFilterFactory.java index 19aa2bed846..2ceb3639d3f 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianStemFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/br/BrazilianStemFilterFactory.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.BrazilianStemFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class BrazilianStemFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java index de64af7e342..8d90e95e6c8 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ca/CatalanAnalyzer.java @@ -36,6 +36,8 @@ import org.tartarus.snowball.ext.CatalanStemmer; /** * {@link Analyzer} for Catalan. + * + * @since 3.1 */ public final class CatalanAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilterFactory.java index 9a237c2cb7b..8ad1488274d 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/charfilter/HTMLStripCharFilterFactory.java @@ -33,6 +33,8 @@ import java.util.regex.Pattern; * <tokenizer class="solr.WhitespaceTokenizerFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class HTMLStripCharFilterFactory extends CharFilterFactory { final Set escapedTags; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java index d4214a111c1..403f43ac6ab 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cjk/CJKAnalyzer.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; * normalizes content with {@link CJKWidthFilter}, folds case with * {@link LowerCaseFilter}, forms bigrams of CJK with {@link CJKBigramFilter}, * and filters stopwords with {@link StopFilter} + * + * @since 3.1 */ public final class CJKAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java index 8e1724e637c..4b70886ecb3 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java @@ -36,6 +36,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Sorani Kurdish. + * + * @since 4.10.0 */ public final class SoraniAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsFilterFactory.java index 97124512681..77ba8a86f0a 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsFilterFactory.java @@ -37,6 +37,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.CommonGramsFilterFactory" words="commongramsstopwords.txt" ignoreCase="false"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class CommonGramsFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { // TODO: shared base class for Stop/Keep/CommonGrams? diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsQueryFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsQueryFilterFactory.java index 034ed56254c..1523e3002c9 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsQueryFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/commongrams/CommonGramsQueryFilterFactory.java @@ -34,6 +34,8 @@ import org.apache.lucene.analysis.commongrams.CommonGramsQueryFilter; * <filter class="solr.CommonGramsQueryFilterFactory" words="commongramsquerystopwords.txt" ignoreCase="false"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class CommonGramsQueryFilterFactory extends CommonGramsFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilterFactory.java index d31cdf8ace5..db475e378c5 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/compound/DictionaryCompoundWordTokenFilterFactory.java @@ -36,6 +36,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * minWordSize="5" minSubwordSize="2" maxSubwordSize="15" onlyLongestMatch="true"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class DictionaryCompoundWordTokenFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { private CharArraySet dictionary; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordAnalyzer.java index 25436f966c7..580a0cac99d 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordAnalyzer.java @@ -22,6 +22,8 @@ import org.apache.lucene.analysis.Analyzer; /** * "Tokenizes" the entire stream as a single token. This is useful * for data like zip codes, ids, and some product names. + * + * @since 3.1 */ public final class KeywordAnalyzer extends Analyzer { public KeywordAnalyzer() { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordTokenizerFactory.java index 86f65d60246..f2d84f442e3 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/KeywordTokenizerFactory.java @@ -38,6 +38,8 @@ import static org.apache.lucene.analysis.standard.StandardTokenizer.MAX_TOKEN_LE * MAX_TOKEN_LENGTH_LIMIT (1024*1024). It is rare to need to change this * else {@link KeywordTokenizer}::DEFAULT_BUFFER_SIZE
  • * + * + * @since 3.1 */ public class KeywordTokenizerFactory extends TokenizerFactory { private final int maxTokenLen; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LetterTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LetterTokenizerFactory.java index 41ada68ba52..ab5cefda7e5 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LetterTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LetterTokenizerFactory.java @@ -40,6 +40,8 @@ import static org.apache.lucene.analysis.standard.StandardTokenizer.MAX_TOKEN_LE * It is rare to need to change this * else {@link CharTokenizer}::DEFAULT_MAX_TOKEN_LEN * + * + * @since 3.1 */ public class LetterTokenizerFactory extends TokenizerFactory { private final int maxTokenLen; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseFilterFactory.java index 91ff877d57a..52a20901145 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/LowerCaseFilterFactory.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.LowerCaseFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class LowerCaseFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/SimpleAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/SimpleAnalyzer.java index 3fcb92c2703..33095ff7172 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/SimpleAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/SimpleAnalyzer.java @@ -24,6 +24,8 @@ import org.apache.lucene.analysis.Tokenizer; /** An {@link Analyzer} that filters {@link LetterTokenizer} * with {@link LowerCaseFilter} + * + * @since 3.1 **/ public final class SimpleAnalyzer extends Analyzer { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopAnalyzer.java index dde74c0df48..443a46ba98e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopAnalyzer.java @@ -31,6 +31,8 @@ import org.apache.lucene.analysis.WordlistLoader; /** * Filters {@link LetterTokenizer} with {@link LowerCaseFilter} and {@link StopFilter}. + * + * @since 3.1 */ public final class StopAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopFilterFactory.java index 3b1be48cb83..3806b83fcb3 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/StopFilterFactory.java @@ -69,6 +69,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * for details. * * + * + * @since 3.1 */ public class StopFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { public static final String FORMAT_WORDSET = "wordset"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/UnicodeWhitespaceAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/UnicodeWhitespaceAnalyzer.java index 0dcaad97f8a..2e5d5052c2e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/UnicodeWhitespaceAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/UnicodeWhitespaceAnalyzer.java @@ -21,6 +21,8 @@ import org.apache.lucene.analysis.Analyzer; /** * An Analyzer that uses {@link UnicodeWhitespaceTokenizer}. + * + * @since 5.4.0 **/ public final class UnicodeWhitespaceAnalyzer extends Analyzer { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceAnalyzer.java index a71039a9fb8..14c3219abdf 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceAnalyzer.java @@ -21,6 +21,8 @@ import org.apache.lucene.analysis.Analyzer; /** * An Analyzer that uses {@link WhitespaceTokenizer}. + * + * @since 3.1 **/ public final class WhitespaceAnalyzer extends Analyzer { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceTokenizerFactory.java index 29e9ed519fa..b04e9ac50e4 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/core/WhitespaceTokenizerFactory.java @@ -45,6 +45,8 @@ import static org.apache.lucene.analysis.standard.StandardTokenizer.MAX_TOKEN_LE * It is rare to need to change this * else {@link CharTokenizer}::DEFAULT_MAX_TOKEN_LEN * + * + * @since 3.1 */ public class WhitespaceTokenizerFactory extends TokenizerFactory { public static final String RULE_JAVA = "java"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java index f60c6a2872d..db5a29da7ee 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/custom/CustomAnalyzer.java @@ -89,6 +89,8 @@ import static org.apache.lucene.analysis.util.AnalysisSPILoader.newFactoryClassI * .endwhen() * .build(); * + * + * @since 5.0.0 */ public final class CustomAnalyzer extends Analyzer { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java index 17111b4f5ff..e04e944f967 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/cz/CzechAnalyzer.java @@ -40,6 +40,8 @@ import org.apache.lucene.util.IOUtils; * all). A default set of stopwords is used unless an alternative list is * specified. *

    + * + * @since 3.1 */ public final class CzechAnalyzer extends StopwordAnalyzerBase { /** File containing default Czech stopwords. */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/da/DanishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/da/DanishAnalyzer.java index 88fb38a96ba..ce7a102b7e6 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/da/DanishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/da/DanishAnalyzer.java @@ -37,6 +37,8 @@ import org.tartarus.snowball.ext.DanishStemmer; /** * {@link Analyzer} for Danish. + * + * @since 3.1 */ public final class DanishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java index 47db4027b9c..00438e7ba66 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java @@ -48,6 +48,8 @@ import org.apache.lucene.util.IOUtils; * *

    NOTE: This class uses the same {@link org.apache.lucene.util.Version} * dependent settings as {@link StandardAnalyzer}.

    + * + * @since 3.1 */ public final class GermanAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanStemFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanStemFilterFactory.java index d7f578e9193..0112ee781ec 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanStemFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/de/GermanStemFilterFactory.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.GermanStemFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class GermanStemFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekAnalyzer.java index 3ed32664c92..99e1ac71dde 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekAnalyzer.java @@ -38,6 +38,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; * *

    NOTE: This class uses the same {@link org.apache.lucene.util.Version} * dependent settings as {@link StandardAnalyzer}.

    + * + * @since 3.1 */ public final class GreekAnalyzer extends StopwordAnalyzerBase { /** File containing default Greek stopwords. */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekLowerCaseFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekLowerCaseFilterFactory.java index ce1ec082d1c..57d542ea56e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekLowerCaseFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/el/GreekLowerCaseFilterFactory.java @@ -34,6 +34,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.GreekLowerCaseFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class GreekLowerCaseFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java index 06e238ebf43..4f69ea9a1eb 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; /** * {@link Analyzer} for English. + * + * @since 3.1 */ public final class EnglishAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/PorterStemFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/PorterStemFilterFactory.java index 61b56626dda..644a263b75d 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/PorterStemFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/PorterStemFilterFactory.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.PorterStemFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class PorterStemFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/es/SpanishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/es/SpanishAnalyzer.java index fece2497c19..7e17b877d59 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/es/SpanishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/es/SpanishAnalyzer.java @@ -36,6 +36,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Spanish. + * + * @since 3.1 */ public final class SpanishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java index f9a77fbf2fb..f5be37752c9 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/eu/BasqueAnalyzer.java @@ -34,6 +34,8 @@ import org.tartarus.snowball.ext.BasqueStemmer; /** * {@link Analyzer} for Basque. + * + * @since 3.1 */ public final class BasqueAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java index 0b743092a14..e0858979993 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java @@ -38,6 +38,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; * zero-width non-joiner in addition to whitespace. Some persian-specific variant forms (such as farsi * yeh and keheh) are standardized. "Stemming" is accomplished via stopwords. *

    + * + * @since 3.1 */ public final class PersianAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianCharFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianCharFilterFactory.java index 69288fc1adb..61d0e76939f 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianCharFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianCharFilterFactory.java @@ -35,6 +35,8 @@ import org.apache.lucene.analysis.util.MultiTermAwareComponent; * <tokenizer class="solr.StandardTokenizerFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class PersianCharFilterFactory extends CharFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianNormalizationFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianNormalizationFilterFactory.java index e5d78de360f..584a7a85b46 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianNormalizationFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianNormalizationFilterFactory.java @@ -35,6 +35,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.PersianNormalizationFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class PersianNormalizationFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishAnalyzer.java index bb78934cc4f..a130e030f76 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishAnalyzer.java @@ -37,6 +37,8 @@ import org.tartarus.snowball.ext.FinnishStemmer; /** * {@link Analyzer} for Finnish. + * + * @since 3.1 */ public final class FinnishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchAnalyzer.java index bc273660369..a9cdd7fbaee 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fr/FrenchAnalyzer.java @@ -49,6 +49,8 @@ import org.apache.lucene.util.IOUtils; * *

    NOTE: This class uses the same {@link org.apache.lucene.util.Version} * dependent settings as {@link StandardAnalyzer}.

    + * + * @since 3.1 */ public final class FrenchAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ga/IrishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ga/IrishAnalyzer.java index 07bd825d803..d11ea978ca0 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ga/IrishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ga/IrishAnalyzer.java @@ -35,6 +35,8 @@ import org.tartarus.snowball.ext.IrishStemmer; /** * {@link Analyzer} for Irish. + * + * @since 3.6.0 */ public final class IrishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/gl/GalicianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/gl/GalicianAnalyzer.java index 636bff9bfd4..97071e49e3e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/gl/GalicianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/gl/GalicianAnalyzer.java @@ -35,6 +35,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Galician. + * + * @since 3.1 */ public final class GalicianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java index c47f56d33e5..d518fdbac2e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java @@ -33,6 +33,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; /** * Analyzer for Hindi. + * + * @since 3.1 */ public final class HindiAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianAnalyzer.java index 5e49534825f..30e471e8b96 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hu/HungarianAnalyzer.java @@ -37,6 +37,8 @@ import org.tartarus.snowball.ext.HungarianStemmer; /** * {@link Analyzer} for Hungarian. + * + * @since 3.1 */ public final class HungarianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java index 70841552673..7dffc674c4a 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hy/ArmenianAnalyzer.java @@ -34,6 +34,8 @@ import org.tartarus.snowball.ext.ArmenianStemmer; /** * {@link Analyzer} for Armenian. + * + * @since 3.1 */ public final class ArmenianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java index f4850a50e44..fe6cb646980 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/id/IndonesianAnalyzer.java @@ -31,6 +31,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; /** * Analyzer for Indonesian (Bahasa) + * + * @since 3.1 */ public final class IndonesianAnalyzer extends StopwordAnalyzerBase { /** File containing default Indonesian stopwords. */ diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/it/ItalianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/it/ItalianAnalyzer.java index 7baec96b05b..b47645a1df9 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/it/ItalianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/it/ItalianAnalyzer.java @@ -38,6 +38,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Italian. + * + * @since 3.1 */ public final class ItalianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/lt/LithuanianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/lt/LithuanianAnalyzer.java index fadb55d92e6..3cc0dd1bef0 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/lt/LithuanianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/lt/LithuanianAnalyzer.java @@ -34,6 +34,8 @@ import org.tartarus.snowball.ext.LithuanianStemmer; /** * {@link Analyzer} for Lithuanian. + * + * @since 5.3.0 */ public final class LithuanianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/lv/LatvianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/lv/LatvianAnalyzer.java index 0c077ad062d..9e663d8bb26 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/lv/LatvianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/lv/LatvianAnalyzer.java @@ -35,6 +35,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Latvian. + * + * @since 3.2 */ public final class LatvianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.java index 4e64abe3c22..31e7ba22edb 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.java @@ -35,6 +35,8 @@ import org.apache.lucene.analysis.TokenStream; * <filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="false"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ASCIIFoldingFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { private static final String PRESERVE_ORIGINAL = "preserveOriginal"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ConditionalTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ConditionalTokenFilterFactory.java index 9fe27ac884f..6296082a9ee 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ConditionalTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ConditionalTokenFilterFactory.java @@ -30,6 +30,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; /** * Abstract parent class for analysis factories that create {@link ConditionalTokenFilter} instances + * + * @since 7.4.0 */ public abstract class ConditionalTokenFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/HyphenatedWordsFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/HyphenatedWordsFilterFactory.java index 4df514e6553..a81bb98d1dc 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/HyphenatedWordsFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/HyphenatedWordsFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.HyphenatedWordsFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class HyphenatedWordsFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/KeepWordFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/KeepWordFilterFactory.java index 8967c5b8d69..b1c4baef9b6 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/KeepWordFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/KeepWordFilterFactory.java @@ -35,6 +35,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.KeepWordFilterFactory" words="keepwords.txt" ignoreCase="false"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class KeepWordFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { private final boolean ignoreCase; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LengthFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LengthFilterFactory.java index 4e1ec6ba932..29d789d7fc8 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LengthFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LengthFilterFactory.java @@ -31,6 +31,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.LengthFilterFactory" min="0" max="1" /> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class LengthFilterFactory extends TokenFilterFactory { final int min; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LimitTokenCountAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LimitTokenCountAnalyzer.java index 8e6cee6c311..dbd7c655fc7 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LimitTokenCountAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/LimitTokenCountAnalyzer.java @@ -24,6 +24,8 @@ import org.apache.lucene.analysis.AnalyzerWrapper; * This Analyzer limits the number of tokens while indexing. It is * a replacement for the maximum field length setting inside {@link org.apache.lucene.index.IndexWriter}. * @see LimitTokenCountFilter + * + * @since 3.1 */ public final class LimitTokenCountAnalyzer extends AnalyzerWrapper { private final Analyzer delegate; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/PerFieldAnalyzerWrapper.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/PerFieldAnalyzerWrapper.java index 2d9b1da1557..e49a929ab27 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/PerFieldAnalyzerWrapper.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/PerFieldAnalyzerWrapper.java @@ -47,6 +47,8 @@ import java.util.Map; * *

    A PerFieldAnalyzerWrapper can be used like any other analyzer, for both indexing * and query parsing. + * + * @since 3.1 */ public final class PerFieldAnalyzerWrapper extends DelegatingAnalyzerWrapper { private final Analyzer defaultAnalyzer; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ProtectedTermFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ProtectedTermFilterFactory.java index 1cde6c354cd..c52899681a2 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ProtectedTermFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ProtectedTermFilterFactory.java @@ -75,6 +75,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * </fieldType> * *

    See related {@link org.apache.lucene.analysis.custom.CustomAnalyzer.Builder#whenTerm(Predicate)} + * + * @since 7.4.0 */ public class ProtectedTermFilterFactory extends ConditionalTokenFilterFactory implements ResourceLoaderAware { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilterFactory.java index ee0a0c91594..06e8bb0986e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/RemoveDuplicatesTokenFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class RemoveDuplicatesTokenFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java index 1aad81d4629..eeb3da31432 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java @@ -36,6 +36,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * </fieldType> * * @see TrimFilter + * + * @since 3.1 */ public class TrimFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TypeAsSynonymFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TypeAsSynonymFilterFactory.java index 69708b7f932..84878779d7c 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TypeAsSynonymFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TypeAsSynonymFilterFactory.java @@ -36,6 +36,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * If the optional {@code prefix} parameter is used, the specified value will be prepended * to the type, e.g. with prefix="_type_", for a token "example.com" with type "<URL>", * the emitted synonym will have text "_type_<URL>". + * + * @since 7.3.0 */ public class TypeAsSynonymFilterFactory extends TokenFilterFactory { private final String prefix; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilterFactory.java index 0002d65331c..8e29ac26dac 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilterFactory.java @@ -52,6 +52,8 @@ import static org.apache.lucene.analysis.miscellaneous.WordDelimiterFilter.*; * @deprecated Use {@link WordDelimiterGraphFilterFactory} instead: it produces a correct * token graph so that e.g. {@link PhraseQuery} works correctly when it's used in * the search time analyzer. + * + * @since 3.1 */ @Deprecated public class WordDelimiterFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramFilterFactory.java index db6a22a7cdd..efabafb4cf0 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="2" preserveOriginal="true"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class EdgeNGramFilterFactory extends TokenFilterFactory { private final int maxGramSize; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramTokenizerFactory.java index fcdcd4daba4..4cc3d2f6aed 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/EdgeNGramTokenizerFactory.java @@ -31,6 +31,8 @@ import java.util.Map; * <tokenizer class="solr.EdgeNGramTokenizerFactory" minGramSize="1" maxGramSize="1"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class EdgeNGramTokenizerFactory extends TokenizerFactory { private final int maxGramSize; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramFilterFactory.java index 9a681dfaf3e..a04a1076d30 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="2" preserveOriginal="true"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class NGramFilterFactory extends TokenFilterFactory { private final int maxGramSize; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramTokenizerFactory.java index e50e03affc8..b6c55ba8504 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ngram/NGramTokenizerFactory.java @@ -33,6 +33,8 @@ import java.util.Map; * <tokenizer class="solr.NGramTokenizerFactory" minGramSize="1" maxGramSize="2"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class NGramTokenizerFactory extends TokenizerFactory { private final int maxGramSize; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java index 71120256f9b..bc4afc77d37 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/nl/DutchAnalyzer.java @@ -47,6 +47,8 @@ import org.apache.lucene.util.IOUtils; * A default set of stopwords is used unless an alternative list is specified, but the * exclusion list is empty by default. *

    + * + * @since 3.1 */ // TODO: extend StopwordAnalyzerBase public final class DutchAnalyzer extends Analyzer { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/no/NorwegianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/no/NorwegianAnalyzer.java index 9c741090120..cb584117a9e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/no/NorwegianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/no/NorwegianAnalyzer.java @@ -37,6 +37,8 @@ import org.tartarus.snowball.ext.NorwegianStemmer; /** * {@link Analyzer} for Norwegian. + * + * @since 3.1 */ public final class NorwegianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/PathHierarchyTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/PathHierarchyTokenizerFactory.java index bdcc68edf76..aebd6bd309c 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/PathHierarchyTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/path/PathHierarchyTokenizerFactory.java @@ -66,6 +66,8 @@ import org.apache.lucene.util.AttributeFactory; * </analyzer> * </fieldType> * + * + * @since 3.1 */ public class PathHierarchyTokenizerFactory extends TokenizerFactory { private final char delimiter; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/PatternReplaceFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/PatternReplaceFilterFactory.java index 57e5e11f97c..8c4572ca8e5 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/PatternReplaceFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/PatternReplaceFilterFactory.java @@ -36,6 +36,8 @@ import java.util.regex.Pattern; * </fieldType> * * @see PatternReplaceFilter + * + * @since 3.1 */ public class PatternReplaceFilterFactory extends TokenFilterFactory { final Pattern pattern; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternSplitTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternSplitTokenizerFactory.java index 4af6286c901..200a975c82a 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternSplitTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternSplitTokenizerFactory.java @@ -53,6 +53,8 @@ import org.apache.lucene.util.automaton.RegExp; * @lucene.experimental * * @see SimplePatternSplitTokenizer + * + * @since 6.5.0 */ public class SimplePatternSplitTokenizerFactory extends TokenizerFactory { public static final String PATTERN = "pattern"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternTokenizerFactory.java index 3e74d023b3a..5c73ad8d8ee 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pattern/SimplePatternTokenizerFactory.java @@ -53,6 +53,8 @@ import org.apache.lucene.util.automaton.RegExp; * @lucene.experimental * * @see SimplePatternTokenizer + * + * @since 6.5.0 */ public class SimplePatternTokenizerFactory extends TokenizerFactory { public static final String PATTERN = "pattern"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/DelimitedPayloadTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/DelimitedPayloadTokenFilterFactory.java index cd261acbc47..f0bcd027220 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/DelimitedPayloadTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/DelimitedPayloadTokenFilterFactory.java @@ -33,6 +33,8 @@ import java.util.Map; * <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float" delimiter="|"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class DelimitedPayloadTokenFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { public static final String ENCODER_ATTR = "encoder"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/NumericPayloadTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/NumericPayloadTokenFilterFactory.java index 98783b07c5b..0d3a23fa143 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/NumericPayloadTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/NumericPayloadTokenFilterFactory.java @@ -30,6 +30,8 @@ import java.util.Map; * <filter class="solr.NumericPayloadTokenFilterFactory" payload="24" typeMatch="word"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class NumericPayloadTokenFilterFactory extends TokenFilterFactory { private final float payload; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TokenOffsetPayloadTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TokenOffsetPayloadTokenFilterFactory.java index 56c38da57cb..f7d760b7e2c 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TokenOffsetPayloadTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TokenOffsetPayloadTokenFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.TokenOffsetPayloadTokenFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class TokenOffsetPayloadTokenFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TypeAsPayloadTokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TypeAsPayloadTokenFilterFactory.java index a0c598962e6..3f072daf300 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TypeAsPayloadTokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/payloads/TypeAsPayloadTokenFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.TypeAsPayloadTokenFilterFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class TypeAsPayloadTokenFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseAnalyzer.java index d880497d909..c87513d3596 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/pt/PortugueseAnalyzer.java @@ -36,6 +36,8 @@ import org.apache.lucene.util.IOUtils; /** * {@link Analyzer} for Portuguese. + * + * @since 3.1 */ public final class PortugueseAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/QueryAutoStopWordAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/QueryAutoStopWordAnalyzer.java index eabdd8ec266..e8632064fd9 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/QueryAutoStopWordAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/query/QueryAutoStopWordAnalyzer.java @@ -47,6 +47,8 @@ import org.apache.lucene.util.CharsRefBuilder; * a 38 million doc index which had a term in around 50% of docs and was causing TermQueries for * this term to take 2 seconds. *

    + * + * @since 3.1 */ public final class QueryAutoStopWordAnalyzer extends AnalyzerWrapper { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/RomanianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/RomanianAnalyzer.java index 9429828a17e..77208d96d8f 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/RomanianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ro/RomanianAnalyzer.java @@ -34,6 +34,8 @@ import org.tartarus.snowball.ext.RomanianStemmer; /** * {@link Analyzer} for Romanian. + * + * @since 3.1 */ public final class RomanianAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java index f604e3755cf..2b9af9c376e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java @@ -40,6 +40,8 @@ import org.apache.lucene.util.IOUtils; * Supports an external list of stopwords (words that * will not be indexed at all). * A default set of stopwords is used unless an alternative list is specified. + * + * @since 3.1 */ public final class RussianAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/FixedShingleFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/FixedShingleFilterFactory.java index de824b80a25..0176d1c2753 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/FixedShingleFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/FixedShingleFilterFactory.java @@ -31,6 +31,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; *
  • tokenSeparator - how tokens should be joined together in the shingle (default: space) *
  • fillerToken - what should be added in place of stop words (default: _ ) * + * + * @since 7.4.0 */ public class FixedShingleFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java index 4729116f2cc..5d9dc4468bd 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleAnalyzerWrapper.java @@ -26,6 +26,8 @@ import org.apache.lucene.analysis.standard.StandardAnalyzer; *

    * A shingle is another name for a token based n-gram. *

    + * + * @since 3.1 */ public final class ShingleAnalyzerWrapper extends AnalyzerWrapper { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleFilterFactory.java index c6b1519b96b..3c86e9b5b54 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/shingle/ShingleFilterFactory.java @@ -32,6 +32,8 @@ import java.util.Map; * outputUnigrams="true" outputUnigramsIfNoShingles="false" tokenSeparator=" " fillerToken="_"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ShingleFilterFactory extends TokenFilterFactory { private final int minShingleSize; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/SnowballPorterFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/SnowballPorterFilterFactory.java index d598a099176..ee3876d85f8 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/SnowballPorterFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/snowball/SnowballPorterFilterFactory.java @@ -41,6 +41,8 @@ import org.tartarus.snowball.SnowballProgram; * <filter class="solr.SnowballPorterFilterFactory" protected="protectedkeyword.txt" language="English"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class SnowballPorterFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { public static final String PROTECTED_TOKENS = "protected"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicAnalyzer.java index 868834f9fa3..0c18cdd7bae 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicAnalyzer.java @@ -36,6 +36,8 @@ import org.apache.lucene.analysis.en.EnglishAnalyzer; * ClassicAnalyzer was named StandardAnalyzer in Lucene versions prior to 3.1. * As of 3.1, {@link StandardAnalyzer} implements Unicode text segmentation, * as specified by UAX#29. + * + * @since 3.1 */ public final class ClassicAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerFactory.java index b2a713483f3..04c1fd6bfc0 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/ClassicTokenizerFactory.java @@ -30,6 +30,8 @@ import java.util.Map; * <tokenizer class="solr.ClassicTokenizerFactory" maxTokenLength="120"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ClassicTokenizerFactory extends TokenizerFactory { private final int maxTokenLength; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerFactory.java index c74c55ca9b7..74467a279e1 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/StandardTokenizerFactory.java @@ -30,6 +30,8 @@ import java.util.Map; * <tokenizer class="solr.StandardTokenizerFactory" maxTokenLength="255"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class StandardTokenizerFactory extends TokenizerFactory { private final int maxTokenLength; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailAnalyzer.java index 9fd15fa519d..59b0de01be1 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailAnalyzer.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.en.EnglishAnalyzer; * with {@link org.apache.lucene.analysis.LowerCaseFilter} and * {@link org.apache.lucene.analysis.StopFilter}, using a list of * English stop words. + * + * @since 3.6.0 */ public final class UAX29URLEmailAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerFactory.java index c7c521460bd..526f5f6af77 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerFactory.java @@ -30,6 +30,8 @@ import java.util.Map; * <tokenizer class="solr.UAX29URLEmailTokenizerFactory" maxTokenLength="255"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class UAX29URLEmailTokenizerFactory extends TokenizerFactory { private final int maxTokenLength; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishAnalyzer.java index 5f44f132236..e4acd11fb70 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/sv/SwedishAnalyzer.java @@ -37,6 +37,8 @@ import org.tartarus.snowball.ext.SwedishStemmer; /** * {@link Analyzer} for Swedish. + * + * @since 3.1 */ public final class SwedishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/SynonymFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/SynonymFilterFactory.java index 87ddc08219b..b0addcf8dae 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/SynonymFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/synonym/SynonymFilterFactory.java @@ -52,7 +52,7 @@ import org.apache.lucene.analysis.util.TokenizerFactory; * [optional tokenizer factory parameters]/> * </analyzer> * </fieldType> - * + * *

    * An optional param name prefix of "tokenizerFactory." may be used for any * init params that the SynonymFilterFactory needs to pass to the specified @@ -76,6 +76,8 @@ import org.apache.lucene.analysis.util.TokenizerFactory; * * @deprecated Use {@link SynonymGraphFilterFactory} instead, but be sure to also * use {@link FlattenGraphFilterFactory} at index time (not at search time) as well. + * + * @since 3.1 */ @Deprecated public class SynonymFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java index c1426b81cce..399c8ae5291 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java @@ -30,6 +30,8 @@ import org.apache.lucene.analysis.core.DecimalDigitFilter; /** * {@link Analyzer} for Thai language. It uses {@link java.text.BreakIterator} to break words. + * + * @since 3.1 */ public final class ThaiAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiTokenizerFactory.java index a941c88c278..04c91e77c5e 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiTokenizerFactory.java @@ -31,6 +31,8 @@ import org.apache.lucene.util.AttributeFactory; * <tokenizer class="solr.ThaiTokenizerFactory"/> * </analyzer> * </fieldType> + * + * @since 4.10.0 */ public class ThaiTokenizerFactory extends TokenizerFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/TurkishAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/TurkishAnalyzer.java index f48d4490eee..2ffb4f07c50 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/TurkishAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/tr/TurkishAnalyzer.java @@ -33,6 +33,8 @@ import org.tartarus.snowball.ext.TurkishStemmer; /** * {@link Analyzer} for Turkish. + * + * @since 3.1 */ public final class TurkishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharFilterFactory.java index 4c0df29066e..181beb555d4 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharFilterFactory.java @@ -26,6 +26,8 @@ import org.apache.lucene.analysis.CharFilter; /** * Abstract parent class for analysis factories that create {@link CharFilter} * instances. + * + * @since 3.1 */ public abstract class CharFilterFactory extends AbstractAnalysisFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/ElisionFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/ElisionFilterFactory.java index fff3edcbc9f..e27fbc9c02c 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/ElisionFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/ElisionFilterFactory.java @@ -35,6 +35,8 @@ import org.apache.lucene.analysis.fr.FrenchAnalyzer; * articles="stopwordarticles.txt" ignoreCase="true"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ElisionFilterFactory extends TokenFilterFactory implements ResourceLoaderAware, MultiTermAwareComponent { private final String articlesFile; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenFilterFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenFilterFactory.java index 7eec6ddd7bc..180126d12e1 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenFilterFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenFilterFactory.java @@ -25,6 +25,8 @@ import org.apache.lucene.analysis.TokenStream; /** * Abstract parent class for analysis factories that create {@link org.apache.lucene.analysis.TokenFilter} * instances. + * + * @since 3.1 */ public abstract class TokenFilterFactory extends AbstractAnalysisFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenizerFactory.java index 8e2d64a8501..8b3e1f9c920 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/TokenizerFactory.java @@ -27,6 +27,8 @@ import java.util.Set; /** * Abstract parent class for analysis factories that create {@link Tokenizer} * instances. + * + * @since 3.1 */ public abstract class TokenizerFactory extends AbstractAnalysisFactory { diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerFactory.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerFactory.java index 83e08aa4d4f..e9833af50e9 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerFactory.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/wikipedia/WikipediaTokenizerFactory.java @@ -31,6 +31,8 @@ import org.apache.lucene.util.AttributeFactory; * <tokenizer class="solr.WikipediaTokenizerFactory"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class WikipediaTokenizerFactory extends TokenizerFactory { public static final String TOKEN_OUTPUT = "tokenOutput"; diff --git a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java index 4d0f03956f9..d2099fb6323 100644 --- a/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java +++ b/lucene/analysis/common/src/java/org/apache/lucene/collation/CollationKeyAnalyzer.java @@ -71,6 +71,8 @@ import java.text.Collator; * CollationKeyAnalyzer to generate index terms, do not use * ICUCollationKeyAnalyzer on the query side, or vice versa. *

    + * + * @since 3.1 */ public final class CollationKeyAnalyzer extends Analyzer { private final CollationAttributeFactory factory; diff --git a/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilterFactory.java b/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilterFactory.java index ab8e245a701..2f43b519992 100644 --- a/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilterFactory.java +++ b/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilterFactory.java @@ -44,6 +44,8 @@ import com.ibm.icu.text.UnicodeSet; * @see ICUNormalizer2CharFilter * @see Normalizer2 * @see FilteredNormalizer2 + * + * @since 4.10.0 */ public class ICUNormalizer2CharFilterFactory extends CharFilterFactory implements MultiTermAwareComponent { private final Normalizer2 normalizer; diff --git a/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ICUTokenizerFactory.java b/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ICUTokenizerFactory.java index 0cd4cf28e5f..b57117ee10b 100644 --- a/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ICUTokenizerFactory.java +++ b/lucene/analysis/icu/src/java/org/apache/lucene/analysis/icu/segmentation/ICUTokenizerFactory.java @@ -72,6 +72,8 @@ import com.ibm.icu.text.RuleBasedBreakIterator; * rulefiles="Latn:my.Latin.rules.rbbi,Cyrl:my.Cyrillic.rules.rbbi"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class ICUTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware { static final String RULEFILES = "rulefiles"; diff --git a/lucene/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java b/lucene/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java index 4388969dcde..8bc70c352bc 100644 --- a/lucene/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java +++ b/lucene/analysis/icu/src/java/org/apache/lucene/collation/ICUCollationKeyAnalyzer.java @@ -62,6 +62,8 @@ import org.apache.lucene.collation.CollationKeyAnalyzer; // javadocs * generation timing and key length comparisons between ICU4J and * java.text.Collator over several languages. *

    + * + * @since 3.1 */ public final class ICUCollationKeyAnalyzer extends Analyzer { private final ICUCollationAttributeFactory factory; diff --git a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseAnalyzer.java b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseAnalyzer.java index 06e119e0920..82c71dced6e 100644 --- a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseAnalyzer.java +++ b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseAnalyzer.java @@ -34,6 +34,8 @@ import org.apache.lucene.analysis.ja.dict.UserDictionary; /** * Analyzer for Japanese that uses morphological analysis. * @see JapaneseTokenizer + * + * @since 3.6.0 */ public class JapaneseAnalyzer extends StopwordAnalyzerBase { private final Mode mode; diff --git a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilterFactory.java b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilterFactory.java index 0b5b72fdb85..f888b2b971d 100644 --- a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilterFactory.java +++ b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseIterationMarkCharFilterFactory.java @@ -35,6 +35,8 @@ import java.util.Map; * <tokenizer class="solr.JapaneseTokenizerFactory"/> * </analyzer> * </fieldType> + * + * @since 4.0.0 */ public class JapaneseIterationMarkCharFilterFactory extends CharFilterFactory implements MultiTermAwareComponent { diff --git a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseTokenizerFactory.java b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseTokenizerFactory.java index 844684ae1b9..a45b3c158bf 100644 --- a/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseTokenizerFactory.java +++ b/lucene/analysis/kuromoji/src/java/org/apache/lucene/analysis/ja/JapaneseTokenizerFactory.java @@ -76,6 +76,8 @@ import org.apache.lucene.analysis.util.ResourceLoaderAware; *

    * Parameters nBestCost and nBestExamples work with all tokenizer * modes, but it makes the most sense to use them with NORMAL mode. + * + * @since 3.6.0 */ public class JapaneseTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware { private static final String MODE = "mode"; diff --git a/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/morfologik/MorfologikAnalyzer.java b/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/morfologik/MorfologikAnalyzer.java index 4c0c2777d27..3277a10d7a9 100644 --- a/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/morfologik/MorfologikAnalyzer.java +++ b/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/morfologik/MorfologikAnalyzer.java @@ -28,6 +28,8 @@ import org.apache.lucene.analysis.standard.StandardTokenizer; /** * {@link org.apache.lucene.analysis.Analyzer} using Morfologik library. * @see Morfologik project page + * + * @since 4.0.0 */ public class MorfologikAnalyzer extends Analyzer { private final Dictionary dictionary; diff --git a/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java b/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java index df0802ea616..9b6816ba9a4 100644 --- a/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java +++ b/lucene/analysis/morfologik/src/java/org/apache/lucene/analysis/uk/UkrainianMorfologikAnalyzer.java @@ -39,6 +39,8 @@ import org.apache.lucene.util.IOUtils; /** * A dictionary-based {@link Analyzer} for Ukrainian. + * + * @since 6.2.0 */ public final class UkrainianMorfologikAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanAnalyzer.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanAnalyzer.java index 76023bbe8f9..be7acddeb0a 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanAnalyzer.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanAnalyzer.java @@ -31,6 +31,8 @@ import static org.apache.lucene.analysis.TokenStream.DEFAULT_TOKEN_ATTRIBUTE_FAC * Analyzer for Korean that uses morphological analysis. * @see KoreanTokenizer * @lucene.experimental + * + * @since 7.4.0 */ public class KoreanAnalyzer extends Analyzer { private final UserDictionary userDict; diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilterFactory.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilterFactory.java index 70bcef6cc41..b79ecaced28 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilterFactory.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanPartOfSpeechStopFilterFactory.java @@ -41,6 +41,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; *

  • tags: List of stop tags. if not specified, {@link KoreanPartOfSpeechStopFilter#DEFAULT_STOP_TAGS} is used.
  • * * @lucene.experimental + * + * @since 7.4.0 */ public class KoreanPartOfSpeechStopFilterFactory extends TokenFilterFactory { private Set stopTags; diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanReadingFormFilterFactory.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanReadingFormFilterFactory.java index ce2779b7bbe..2225a1d2b5a 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanReadingFormFilterFactory.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanReadingFormFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * </fieldType> * * @lucene.experimental + * + * @since 7.4.0 */ public class KoreanReadingFormFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanTokenizerFactory.java b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanTokenizerFactory.java index f2fed275e10..780dcb17b17 100644 --- a/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanTokenizerFactory.java +++ b/lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanTokenizerFactory.java @@ -58,6 +58,8 @@ import org.apache.lucene.analysis.ko.KoreanTokenizer.DecompoundMode; *
  • outputUnknownUnigrams: If true outputs unigrams for unknown words.
  • * * @lucene.experimental + * + * @since 7.4.0 */ public class KoreanTokenizerFactory extends TokenizerFactory implements ResourceLoaderAware { private static final String USER_DICT_PATH = "userDictionary"; diff --git a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/DoubleMetaphoneFilterFactory.java b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/DoubleMetaphoneFilterFactory.java index fdaecb2a1ad..3a74dee9ca3 100644 --- a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/DoubleMetaphoneFilterFactory.java +++ b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/DoubleMetaphoneFilterFactory.java @@ -32,6 +32,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * <filter class="solr.DoubleMetaphoneFilterFactory" inject="true" maxCodeLength="4"/> * </analyzer> * </fieldType> + * + * @since 3.1 */ public class DoubleMetaphoneFilterFactory extends TokenFilterFactory { diff --git a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java index fc69a61f123..d5d3b0ecded 100644 --- a/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java +++ b/lucene/analysis/phonetic/src/java/org/apache/lucene/analysis/phonetic/PhoneticFilterFactory.java @@ -62,6 +62,8 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * </fieldType> * * @see PhoneticFilter + * + * @since 3.1 */ public class PhoneticFilterFactory extends TokenFilterFactory implements ResourceLoaderAware { /** parameter name: either a short name or a full class name */ diff --git a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/HMMChineseTokenizerFactory.java b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/HMMChineseTokenizerFactory.java index 43cb8229a7b..5d30459141b 100644 --- a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/HMMChineseTokenizerFactory.java +++ b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/HMMChineseTokenizerFactory.java @@ -30,6 +30,8 @@ import org.apache.lucene.util.AttributeFactory; * SmartChinese stoplist with a StopFilterFactory via: * words="org/apache/lucene/analysis/cn/smart/stopwords.txt" * @lucene.experimental + * + * @since 4.10.0 */ public final class HMMChineseTokenizerFactory extends TokenizerFactory { diff --git a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.java b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.java index f604d4b8970..c1e7daf2a6a 100644 --- a/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.java +++ b/lucene/analysis/smartcn/src/java/org/apache/lucene/analysis/cn/smart/SmartChineseAnalyzer.java @@ -49,6 +49,8 @@ import org.apache.lucene.util.IOUtils; * Thanks to ICTCLAS for their hard work, and for contributing the data under the Apache 2 License! *

    * @lucene.experimental + * + * @since 3.1 */ public final class SmartChineseAnalyzer extends Analyzer { diff --git a/lucene/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java b/lucene/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java index e449c1eb512..a58bc78b22a 100644 --- a/lucene/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java +++ b/lucene/analysis/stempel/src/java/org/apache/lucene/analysis/pl/PolishAnalyzer.java @@ -38,6 +38,8 @@ import org.egothor.stemmer.Trie; /** * {@link Analyzer} for Polish. + * + * @since 3.1 */ public final class PolishAnalyzer extends StopwordAnalyzerBase { private final CharArraySet stemExclusionSet; diff --git a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java index 46338dc47ac..b9a798b97e5 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/Analyzer.java @@ -79,6 +79,8 @@ import org.apache.lucene.util.Version; *
  • Stempel: * Algorithmic Stemmer for the Polish Language. * + * + * @since 3.1 */ public abstract class Analyzer implements Closeable { diff --git a/lucene/core/src/java/org/apache/lucene/analysis/AnalyzerWrapper.java b/lucene/core/src/java/org/apache/lucene/analysis/AnalyzerWrapper.java index d23d004d729..0e5297eece7 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/AnalyzerWrapper.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/AnalyzerWrapper.java @@ -42,6 +42,8 @@ import org.apache.lucene.util.AttributeFactory; * as superclass! * * @see DelegatingAnalyzerWrapper + * + * @since 4.0.0 */ public abstract class AnalyzerWrapper extends Analyzer { diff --git a/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java b/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java index edf5b2b43ea..b1a9378710c 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/DelegatingAnalyzerWrapper.java @@ -35,6 +35,8 @@ import java.io.Reader; * which is returned by {@link #getReuseStrategy()}. This strategy is used when * delegating. If you wrap this analyzer again and reuse this strategy, no * delegation is done and the given fallback is used. + * + * @since 4.10.0 */ public abstract class DelegatingAnalyzerWrapper extends AnalyzerWrapper { @@ -99,4 +101,4 @@ public abstract class DelegatingAnalyzerWrapper extends AnalyzerWrapper { } }; -} \ No newline at end of file +} diff --git a/lucene/core/src/java/org/apache/lucene/analysis/StopwordAnalyzerBase.java b/lucene/core/src/java/org/apache/lucene/analysis/StopwordAnalyzerBase.java index c35e715e0ca..0de83e57aeb 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/StopwordAnalyzerBase.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/StopwordAnalyzerBase.java @@ -27,7 +27,9 @@ import org.apache.lucene.util.IOUtils; /** * Base class for Analyzers that need to make use of stopword sets. - * + * + * + * @since 3.1 */ public abstract class StopwordAnalyzerBase extends Analyzer { diff --git a/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java b/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java index 76c958b1d7b..3366611dd4a 100644 --- a/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java +++ b/lucene/core/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java @@ -30,6 +30,8 @@ import org.apache.lucene.analysis.WordlistLoader; /** * Filters {@link StandardTokenizer} with {@link LowerCaseFilter} and * {@link StopFilter}, using a configurable list of stop words. + * + * @since 3.1 */ public final class StandardAnalyzer extends StopwordAnalyzerBase { diff --git a/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/CompletionAnalyzer.java b/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/CompletionAnalyzer.java index 631a67a434f..35cf5e8bc2e 100644 --- a/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/CompletionAnalyzer.java +++ b/lucene/suggest/src/java/org/apache/lucene/search/suggest/document/CompletionAnalyzer.java @@ -34,6 +34,8 @@ import org.apache.lucene.analysis.miscellaneous.ConcatenateGraphFilter; * and {@link #preserveSep()} * * @lucene.experimental + * + * @since 5.1.0 */ public final class CompletionAnalyzer extends AnalyzerWrapper { diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 14a9f083f13..979677d80a6 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -119,6 +119,8 @@ Other Changes * SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files for Asciidoctor HTML conversion. Building the HTML version now requires the Slim gem. (Cassandra Targett) +* SOLR-12956: Add Javadoc @since tag to Analyzer component classes (Alexandre Rafalovitch) + Bug Fixes ---------------------- diff --git a/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilterFactory.java b/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilterFactory.java index e64957f26f4..a1917b8c334 100644 --- a/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilterFactory.java +++ b/solr/core/src/java/org/apache/solr/analysis/ReversedWildcardFilterFactory.java @@ -60,6 +60,7 @@ import org.apache.lucene.analysis.util.TokenFilterFactory; * </analyzer> * </fieldType> * + * @since 3.1 */ public class ReversedWildcardFilterFactory extends TokenFilterFactory { diff --git a/solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java b/solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java index 38d0d17bd09..10c1b7ca739 100644 --- a/solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java +++ b/solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java @@ -22,6 +22,7 @@ import java.io.Reader; /** * + * @since 3.1 */ public abstract class SolrAnalyzer extends Analyzer { int posIncGap = 0; diff --git a/solr/core/src/java/org/apache/solr/analysis/TokenizerChain.java b/solr/core/src/java/org/apache/solr/analysis/TokenizerChain.java index af7e81204fe..d27e946b436 100644 --- a/solr/core/src/java/org/apache/solr/analysis/TokenizerChain.java +++ b/solr/core/src/java/org/apache/solr/analysis/TokenizerChain.java @@ -28,6 +28,8 @@ import org.apache.lucene.analysis.util.TokenizerFactory; /** * An analyzer that uses a tokenizer and a list of token filters to * create a TokenStream. + * + * @since 3.1 */ public final class TokenizerChain extends SolrAnalyzer { private static final CharFilterFactory[] EMPTY_CHAR_FITLERS = new CharFilterFactory[0]; diff --git a/solr/core/src/java/org/apache/solr/schema/FieldType.java b/solr/core/src/java/org/apache/solr/schema/FieldType.java index 41eb4602d5c..ae73e098132 100644 --- a/solr/core/src/java/org/apache/solr/schema/FieldType.java +++ b/solr/core/src/java/org/apache/solr/schema/FieldType.java @@ -80,7 +80,7 @@ import static org.apache.lucene.analysis.util.AbstractAnalysisFactory.LUCENE_MAT /** * Base class for all field types used by an index schema. * - * + * @since 3.1 */ public abstract class FieldType extends FieldProperties { private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());