From 374538c68dd7f4a9e85205450dd456f396bf2e69 Mon Sep 17 00:00:00 2001
From: Yonik Seeley
Date: Tue, 6 Sep 2011 21:47:05 +0000
Subject: [PATCH] SOLR-2656: doc - licenses + comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165885 13f79535-47bb-0310-9956-ffa450edef68
---
.../solr/handler/RealTimeGetHandler.java | 19 -------------------
.../org/apache/solr/update/FSUpdateLog.java | 19 +++++++++++++++++++
.../org/apache/solr/update/UpdateLog.java | 18 ++++++++++++++++++
3 files changed, 37 insertions(+), 19 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.java b/solr/core/src/java/org/apache/solr/handler/RealTimeGetHandler.java
index 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).
- *
- *
- *
- * - highlight - Set to any value not .equal() to "false" to enable highlight
- * generation
- * - highlightFields - Set to a comma- or space-delimited list of fields to
- * highlight. If unspecified, uses the default query field
- * - maxSnippets - maximum number of snippets to generate per field-highlight.
- *
- *
- *
- */
public class RealTimeGetHandler extends SearchHandler {
@Override
protected List getDefaultComponents()
diff --git a/solr/core/src/java/org/apache/solr/update/FSUpdateLog.java b/solr/core/src/java/org/apache/solr/update/FSUpdateLog.java
index 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 {
@Override
public 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.java
index 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;