From c07df196664b84cd2d58ce1ba9040a6b06e0a3c5 Mon Sep 17 00:00:00 2001
From: Alexandre Rafalovitch NOTE: This class uses the same {@link org.apache.lucene.util.Version}
* dependent settings as {@link StandardAnalyzer}.
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; ** 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; *
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;
*