Apache Lucene open-source search software
SOLR-2656: doc - licenses + comments
Yonik Seeley374538c68dd7
diff --git a/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.java b/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.javaindex 901e366f91a..a36ef13abfe 100644--- a/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.java+++ b/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.java@@ -24,25 +24,6 @@ import java.net.URL;import java.util.ArrayList;import java.util.List;-/**- *- *- * All of the following options may be configured for this handler- * in the solrconfig as defaults, and may be overriden as request parameters.- * (TODO: complete documentation of request parameters here, rather than only- * on the wiki).- * </p>- *- * <ul>- * <li> highlight - Set to any value not .equal() to "false" to enable highlight- * generation</li>- * <li> highlightFields - Set to a comma- or space-delimited list of fields to- * highlight. If unspecified, uses the default query field</li>- * <li> maxSnippets - maximum number of snippets to generate per field-highlight.- * </li>- * </ul>- *- */public class RealTimeGetHandler extends SearchHandler {@Overrideprotected List<String> getDefaultComponents()diff --git a/solr/core/src/java/org/apache/solr/update/FSUpdateLog.java b/solr/core/src/java/org/apache/solr/update/FSUpdateLog.javaindex 630c73c3167..136b72d3cf9 100644--- a/solr/core/src/java/org/apache/solr/update/FSUpdateLog.java+++ b/solr/core/src/java/org/apache/solr/update/FSUpdateLog.java@@ -1,3 +1,20 @@+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+package org.apache.solr.update;import org.apache.lucene.util.BytesRef;@@ -17,6 +34,7 @@ import java.nio.channels.FileChannel;import java.util.*;import java.util.concurrent.atomic.AtomicInteger;+/** @lucene.experimental */class NullUpdateLog extends UpdateLog {@Overridepublic void init(PluginInfo info) {@@ -64,6 +82,7 @@ class NullUpdateLog extends UpdateLog {}}+/** @lucene.experimental */public class FSUpdateLog extends UpdateLog {public static String TLOG_NAME="tlog";diff --git a/solr/core/src/java/org/apache/solr/update/UpdateLog.java b/solr/core/src/java/org/apache/solr/update/UpdateLog.javaindex 868ea8cbb1a..bf77cd06d15 100644--- a/solr/core/src/java/org/apache/solr/update/UpdateLog.java+++ b/solr/core/src/java/org/apache/solr/update/UpdateLog.java@@ -1,9 +1,27 @@+/**+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */+package org.apache.solr.update;import org.apache.lucene.util.BytesRef;import org.apache.solr.core.SolrCore;import org.apache.solr.util.plugin.PluginInfoInitialized;+/** @lucene.experimental */public abstract class UpdateLog implements PluginInfoInitialized {public static final int ADD = 0x00;public static final int DELETE = 0x01;