~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to solr/solrj/src/java/org/apache/solr/common/params/UpdateParams.java

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * Licensed to the Apache Software Foundation (ASF) under one or more
3
 
 * contributor license agreements.  See the NOTICE file distributed with
4
 
 * this work for additional information regarding copyright ownership.
5
 
 * The ASF licenses this file to You under the Apache License, Version 2.0
6
 
 * (the "License"); you may not use this file except in compliance with
7
 
 * the License.  You may obtain a copy of the License at
8
 
 *
9
 
 *     http://www.apache.org/licenses/LICENSE-2.0
10
 
 *
11
 
 * Unless required by applicable law or agreed to in writing, software
12
 
 * distributed under the License is distributed on an "AS IS" BASIS,
13
 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
 
 * See the License for the specific language governing permissions and
15
 
 * limitations under the License.
16
 
 */
17
 
 
18
 
package org.apache.solr.common.params;
19
 
 
20
 
/**
21
 
 * A collection of standard params used by Update handlers
22
 
 *
23
 
 * @version $Id: UpdateParams.java 1165749 2011-09-06 16:20:07Z janhoy $
24
 
 * @since solr 1.2
25
 
 */
26
 
public interface UpdateParams 
27
 
{
28
 
  /** wait till the command has flushed */
29
 
  public static String WAIT_FLUSH = "waitFlush";
30
 
  
31
 
  /** wait for the search to warm up */
32
 
  public static String WAIT_SEARCHER = "waitSearcher";
33
 
  
34
 
  /** overwrite indexing fields */
35
 
  public static String OVERWRITE = "overwrite";
36
 
  
37
 
  /** Commit everything after the command completes */
38
 
  public static String COMMIT = "commit";
39
 
  
40
 
  /** Commit within a certain time period (in ms) */
41
 
  public static String COMMIT_WITHIN = "commitWithin";
42
 
 
43
 
  /** Optimize the index and commit everything after the command completes */
44
 
  public static String OPTIMIZE = "optimize";
45
 
  
46
 
  /** Rollback update commands */
47
 
  public static String ROLLBACK = "rollback";
48
 
 
49
 
  /** Select the update processor chain to use.  A RequestHandler may or may not respect this parameter */
50
 
  public static final String UPDATE_CHAIN = "update.chain";
51
 
  // TODO: Include the old deprecated param, for removal in Solr 4.0
52
 
  public static final String UPDATE_CHAIN_DEPRECATED = "update.processor";
53
 
 
54
 
  /**
55
 
   * If optimizing, set the maximum number of segments left in the index after optimization.  1 is the default (and is equivalent to calling IndexWriter.optimize() in Lucene).
56
 
   */
57
 
  public static final String MAX_OPTIMIZE_SEGMENTS = "maxSegments";
58
 
 
59
 
  public static final String EXPUNGE_DELETES = "expungeDeletes";
60
 
}