mirror of https://github.com/apache/lucene.git
SOLR-2656: doc - licenses + comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1165885 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1465c3edd4
commit
374538c68d
|
@ -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 {
|
||||
@Override
|
||||
protected List<String> getDefaultComponents()
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue