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/08/01 20:43:04 UTC

svn commit: r561904 - in /lucene/solr/trunk/src/java/org/apache/solr: common/params/MoreLikeThisParams.java common/util/MoreLikeThisParams.java handler/MoreLikeThisHandler.java handler/StandardRequestHandler.java

Author: ryan
Date: Wed Aug  1 11:43:02 2007
New Revision: 561904

URL: http://svn.apache.org/viewvc?view=rev&rev=561904
Log:
SOLR-301 -- moving MoreLikeThisParams from o.a.s.common.util -> o.a.s.common.params

Added:
    lucene/solr/trunk/src/java/org/apache/solr/common/params/MoreLikeThisParams.java
      - copied, changed from r561900, lucene/solr/trunk/src/java/org/apache/solr/common/util/MoreLikeThisParams.java
Removed:
    lucene/solr/trunk/src/java/org/apache/solr/common/util/MoreLikeThisParams.java
Modified:
    lucene/solr/trunk/src/java/org/apache/solr/handler/MoreLikeThisHandler.java
    lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java

Copied: lucene/solr/trunk/src/java/org/apache/solr/common/params/MoreLikeThisParams.java (from r561900, lucene/solr/trunk/src/java/org/apache/solr/common/util/MoreLikeThisParams.java)
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/common/params/MoreLikeThisParams.java?view=diff&rev=561904&p1=lucene/solr/trunk/src/java/org/apache/solr/common/util/MoreLikeThisParams.java&r1=561900&p2=lucene/solr/trunk/src/java/org/apache/solr/common/params/MoreLikeThisParams.java&r2=561904
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/common/util/MoreLikeThisParams.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/common/params/MoreLikeThisParams.java Wed Aug  1 11:43:02 2007
@@ -1,5 +1,25 @@
-package org.apache.solr.common.util;
+/**
+ * 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.common.params;
+
+/**
+ * @since solr 1.3
+ */
 public interface MoreLikeThisParams 
 {
   // enable more like this -- this only applies to 'StandardRequestHandler' maybe DismaxRequestHandler

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/MoreLikeThisHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/MoreLikeThisHandler.java?view=diff&rev=561904&r1=561903&r2=561904
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/MoreLikeThisHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/MoreLikeThisHandler.java Wed Aug  1 11:43:02 2007
@@ -38,12 +38,12 @@
 import org.apache.solr.common.SolrException;
 import org.apache.solr.common.params.CommonParams;
 import org.apache.solr.common.params.FacetParams;
+import org.apache.solr.common.params.MoreLikeThisParams;
 import org.apache.solr.common.params.SolrParams;
+import org.apache.solr.common.params.MoreLikeThisParams.TermStyle;
 import org.apache.solr.common.util.ContentStream;
-import org.apache.solr.common.util.MoreLikeThisParams;
 import org.apache.solr.common.util.NamedList;
 import org.apache.solr.common.util.SimpleOrderedMap;
-import org.apache.solr.common.util.MoreLikeThisParams.TermStyle;
 import org.apache.solr.core.SolrCore;
 import org.apache.solr.request.SimpleFacets;
 import org.apache.solr.request.SolrQueryRequest;

Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java?view=diff&rev=561904&r1=561903&r2=561904
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/StandardRequestHandler.java Wed Aug  1 11:43:02 2007
@@ -33,8 +33,8 @@
 import org.apache.solr.common.SolrException;
 import org.apache.solr.common.params.CommonParams;
 import org.apache.solr.common.params.FacetParams;
+import org.apache.solr.common.params.MoreLikeThisParams;
 import org.apache.solr.common.params.SolrParams;
-import org.apache.solr.common.util.MoreLikeThisParams;
 import org.apache.solr.common.util.NamedList;
 import org.apache.solr.common.util.StrUtils;
 import org.apache.solr.core.SolrCore;