You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ry...@apache.org on 2007/04/28 20:49:20 UTC
svn commit: r533411 - in /lucene/solr/trunk/src/java/org/apache/solr:
handler/RequestHandlerUtils.java handler/UpdateParams.java
util/UpdateParams.java
Author: ryan
Date: Sat Apr 28 11:49:20 2007
New Revision: 533411
URL: http://svn.apache.org/viewvc?view=rev&rev=533411
Log:
moving UpdateParams.java to o.a.s.util (new class since 1.1)
Added:
lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java (with props)
Removed:
lucene/solr/trunk/src/java/org/apache/solr/handler/UpdateParams.java
Modified:
lucene/solr/trunk/src/java/org/apache/solr/handler/RequestHandlerUtils.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/RequestHandlerUtils.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/RequestHandlerUtils.java?view=diff&rev=533411&r1=533410&r2=533411
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/RequestHandlerUtils.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/RequestHandlerUtils.java Sat Apr 28 11:49:20 2007
@@ -25,6 +25,7 @@
import org.apache.solr.request.SolrQueryRequest;
import org.apache.solr.request.SolrQueryResponse;
import org.apache.solr.update.CommitUpdateCommand;
+import org.apache.solr.util.UpdateParams;
/**
* Common helper functions for RequestHandlers
Added: lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java?view=auto&rev=533411
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java (added)
+++ lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java Sat Apr 28 11:49:20 2007
@@ -0,0 +1,43 @@
+/**
+ * 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.util;
+
+/**
+ * A collection of standard params used by Update handlers
+ *
+ * @author ryan
+ * @version $Id$
+ * @since solr 1.2
+ */
+public interface UpdateParams
+{
+ /** wait till the command has flushed */
+ public static String WAIT_FLUSH = "waitFlush";
+
+ /** wait for the search to warm up */
+ public static String WAIT_SEARCHER = "waitSearcher";
+
+ /** overwrite indexing fields */
+ public static String OVERWRITE = "overwrite";
+
+ /** Commit everything after the command completes */
+ public static String COMMIT = "commit";
+
+ /** Commit everything after the command completes */
+ public static String OPTIMIZE = "optimize";
+}
Propchange: lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: lucene/solr/trunk/src/java/org/apache/solr/util/UpdateParams.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL