Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
* </analyzer>
* &lt;/fieldType&gt;</pre>
*
* @since 3.1
* @lucene.spi {@value #NAME}
*/
public class ReversedWildcardFilterFactory extends TokenFilterFactory {
Expand Down
3 changes: 0 additions & 3 deletions solr/core/src/java/org/apache/solr/analysis/SolrAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
import java.io.Reader;
import org.apache.lucene.analysis.Analyzer;

/**
* @since 3.1
*/
public abstract class SolrAnalyzer extends Analyzer {
int posIncGap = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* An analyzer that uses a tokenizer and a list of token filters to create a TokenStream.
*
* <p>It should probably be replaced with {@link CustomAnalyzer}.
*
* @since 3.1
*/
public final class TokenizerChain extends SolrAnalyzer {
private static final CharFilterFactory[] EMPTY_CHAR_FITLERS = new CharFilterFactory[0];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@
import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.servlet.SolrRequestParsers;

/**
* SolrClient that connects directly to a CoreContainer.
*
* @since solr 1.3
*/
/** SolrClient that connects directly to a CoreContainer. */
public class EmbeddedSolrServer extends SolrClient {

protected final CoreContainer coreContainer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** */
public class RenameCmd implements CollApiCmds.CollectionApiCommand {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import org.apache.solr.common.util.NamedList;
import org.apache.solr.search.SolrIndexSearcher;

/** */
public class AbstractSolrEventListener implements SolrEventListener {
private final SolrCore core;

Expand Down
3 changes: 0 additions & 3 deletions solr/core/src/java/org/apache/solr/core/CoreContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* @since solr 1.3
*/
public class CoreContainer {

private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
2 changes: 0 additions & 2 deletions solr/core/src/java/org/apache/solr/core/CoreDescriptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
* of loading a core.
*
* <p>It's mostly but not completely immutable; we should fix this!
*
* @since solr 1.3
*/
public class CoreDescriptor {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
1 change: 0 additions & 1 deletion solr/core/src/java/org/apache/solr/core/MetricsConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import java.util.Collections;

/** */
public class MetricsConfig {

private final PluginInfo[] metricReporters;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** */
public class QuerySenderListener extends AbstractSolrEventListener {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/** */
public final class RequestHandlers {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
19 changes: 3 additions & 16 deletions solr/core/src/java/org/apache/solr/core/SolrCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,7 @@ public PackageListeners getPackageListeners() {

public final SolrCore.Provider coreProvider;

/**
* The SolrResourceLoader used to load all resources for this core.
*
* @since solr 1.3
*/
/** The SolrResourceLoader used to load all resources for this core. */
public SolrResourceLoader getResourceLoader() {
return resourceLoader;
}
Expand All @@ -316,11 +312,7 @@ public SolrResourceLoader getResourceLoader(String pkg) {
return latest.getLoader();
}

/**
* Gets the configuration resource name used by this core instance.
*
* @since solr 1.3
*/
/** Gets the configuration resource name used by this core instance. */
public String getConfigResource() {
return solrConfig.getResourceName();
}
Expand All @@ -330,11 +322,7 @@ public SolrConfig getSolrConfig() {
return solrConfig;
}

/**
* Gets the schema resource name used by this core instance.
*
* @since solr 1.3
*/
/** Gets the schema resource name used by this core instance. */
public String getSchemaResource() {
return getLatestSchema().getResourceName();
}
Expand Down Expand Up @@ -583,7 +571,6 @@ public SolrCoreMetricManager getCoreMetricManager() {
* over it.
*
* @return the Info Registry map which contains SolrInfoBean objects keyed by name
* @since solr 1.3
*/
public Map<String, SolrInfoBean> getInfoRegistry() {
return infoRegistry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import org.apache.solr.search.SolrIndexSearcher;
import org.apache.solr.util.plugin.NamedListInitializedPlugin;

/** */
public interface SolrEventListener extends NamedListInitializedPlugin {

public void postCommit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* @since solr 1.3
*/
public class SolrResourceLoader
implements ResourceLoader, Closeable, SolrClassLoader, SolrCoreAware {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
8 changes: 2 additions & 6 deletions solr/core/src/java/org/apache/solr/core/XmlConfigFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,12 @@ protected Properties getSubstituteProperties() {
return this.substituteProperties;
}

/**
* @since solr 1.3
*/
/** */
public SolrResourceLoader getResourceLoader() {
return loader;
}

/**
* @since solr 1.3
*/
/** */
public String getResourceName() {
return name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,20 +231,14 @@ default void copyIndexFileFrom(
}
}

/**
* Delete {@code files} at {@code path}
*
* @since 9.3.0
*/
/** Delete {@code files} at {@code path} */
default void delete(URI path, Collection<String> files) throws IOException {
throw new UnsupportedOperationException();
}

/**
* Get checksum of {@code fileName} at {@code dir}. This method only be called on Lucene index
* files
*
* @since 8.3.0
*/
default Checksum checksum(Directory dir, String fileName) throws IOException {
try (IndexInput in = dir.openChecksumInput(fileName)) {
Expand All @@ -262,7 +256,6 @@ default Checksum checksum(Directory dir, String fileName) throws IOException {
* @throws IOException in case of errors
* @throws CorruptIndexException in case checksum of the file does not match with precomputed
* checksum stored at the end of the file
* @since 8.3.0
*/
default void copyIndexFileFrom(
Directory sourceDir, String sourceFileName, URI destDir, String destFileName)
Expand All @@ -277,7 +270,6 @@ default void copyIndexFileFrom(
* @param sourceRepo The source URI hosting the file to be copied.
* @param dest The destination where the file should be copied.
* @throws IOException in case of errors.
* @since 8.3.0
*/
default void copyIndexFileTo(
URI sourceRepo, String sourceFileName, Directory dest, String destFileName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@
import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.schema.FieldType;

/**
* A base class for all analysis request handlers.
*
* @since solr 1.4
*/
/** A base class for all analysis request handlers. */
public abstract class AnalysisRequestHandlerBase extends RequestHandlerBase {

public static final Set<BytesRef> EMPTY_BYTES_SET = Collections.emptySet();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
/**
* The classify expression retrieves a model trained by the train expression and uses it to classify
* documents from a stream Syntax: classif(model(...), anyStream(...), field="body")
*
* @since 6.3.0
*/
public class ClassifyStream extends TupleStream implements Expressible {
private final TupleStream docStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
* supports query analysis by sending either an "analysis.query" or "q" request parameter that holds
* the query text to be analyzed. It also supports the "analysis.showmatch" parameter which when set
* to {@code true}, all field tokens that match the query tokens will be marked as a "match".
*
* @since solr 1.4
*/
public class DocumentAnalysisRequestHandler extends AnalysisRequestHandlerBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
* search field's analyzer is used.
*
* <p>Note that if one of analysis.value or analysis.query or q must be specified
*
* @since solr 1.4
*/
public class FieldAnalysisRequestHandler extends AnalysisRequestHandlerBase {

Expand Down
2 changes: 0 additions & 2 deletions solr/core/src/java/org/apache/solr/handler/IndexFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@
/**
* Provides functionality of downloading changed index files as well as config files and a timer for
* scheduling fetches from the leader.
*
* @since solr 1.4
*/
public class IndexFetcher {
private static final int _100K = 100000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@
* Solr MoreLikeThis --
*
* <p>Return similar documents either based on a single document or based on posted text.
*
* @since solr 1.3
*/
public class MoreLikeThisHandler extends RequestHandlerBase {
// Pattern is thread safe -- TODO? share this with general 'fl' param
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@
* <li><code>http://.../ping?action=status</code> - returns a status code indicating if the
* healthcheck file exists ("<code>enabled</code>") or not ("<code>disabled</code>")
* </ul>
*
* @since solr 1.3
*/
public class PingRequestHandler extends RequestHandlerBase implements SolrCoreAware {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,6 @@
* <li>Enable/Disable polling the leader for new versions (command=enablepoll or
* command=disablepoll)
* </ol>
*
* @since solr 1.4
*/
public class ReplicationHandler extends RequestHandlerBase
implements SolrCoreAware, APIConfigProvider<ReplicationHandlerConfig> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@
import org.apache.solr.update.RollbackUpdateCommand;
import org.apache.solr.update.processor.UpdateRequestProcessor;

/**
* Common helper functions for RequestHandlers
*
* @since solr 1.2
*/
/** Common helper functions for RequestHandlers */
public class RequestHandlerUtils {
/** A common way to mark the response format as experimental */
public static void addExperimentalFormatWarning(SolrQueryResponse rsp) {
Expand Down Expand Up @@ -102,9 +98,7 @@ public static void updateCommit(CommitUpdateCommand cmd, SolrParams params) {
cmd.failOnReadOnly = params.getBool(UpdateParams.FAIL_ON_READ_ONLY, cmd.failOnReadOnly);
}

/**
* @since Solr 1.4
*/
/** */
public static boolean handleRollback(
SolrQueryRequest req, UpdateRequestProcessor processor, SolrParams params, boolean force)
throws IOException {
Expand All @@ -116,9 +110,7 @@ public static boolean handleRollback(
return false;
}

/**
* @since 6.7
*/
/** */
public static void setWt(SolrQueryRequest req, String wt) {
SolrParams params = req.getParams();
if (params.get(CommonParams.WT) != null) return; // wt is set by user
Expand Down
2 changes: 0 additions & 2 deletions solr/core/src/java/org/apache/solr/handler/SnapShooter.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@
/**
* Provides functionality equivalent to the snapshooter script This is no longer used in standard
* replication.
*
* @since solr 1.4
*/
public class SnapShooter {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
* A default collection of mappings, used to convert strings into stream expressions. Same as {@link
* DefaultStreamFactory} plus functions that rely directly on either Lucene or Solr capabilities
* that are not part of {@link Lang}.
*
* @since 7.5
*/
public class SolrDefaultStreamFactory extends DefaultStreamFactory {

Expand Down
2 changes: 0 additions & 2 deletions solr/core/src/java/org/apache/solr/handler/StreamHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
*
* <p>To add additional functions, just define them as plugins in solrconfig.xml via {@code
* <expressible name="count" class="org.apache.solr.client.solrj.io.stream.RecordCountStream" />}
*
* @since 5.1.0
*/
public class StreamHandler extends RequestHandlerBase
implements SolrCoreAware, PermissionNameProvider {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@
import org.slf4j.LoggerFactory;
import org.slf4j.MDC;

/**
* @since solr 1.3
*/
public class CoreAdminHandler extends RequestHandlerBase implements PermissionNameProvider {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
protected final CoreContainer coreContainer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* A request handler to show which loggers are registered and allows you to set them
*
* @since 4.0
*/
/** A request handler to show which loggers are registered and allows you to set them */
public class LoggingHandler extends RequestHandlerBase {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
* module: https://github.com/apache/lucene/tree/main/lucene/luke
*
* @see SegmentsInfoRequestHandler
* @since solr 1.2
*/
public class LukeRequestHandler extends RequestHandlerBase {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
import org.apache.solr.response.SolrQueryResponse;
import org.apache.solr.security.AuthorizationContext;

/**
* @since solr 1.2
*/
public class PropertiesRequestHandler extends RequestHandlerBase {

private CoreContainer cc;
Expand Down
Loading