diff --git a/src/java/org/apache/solr/common/util/MoreLikeThisParams.java b/src/java/org/apache/solr/common/params/MoreLikeThisParams.java similarity index 66% rename from src/java/org/apache/solr/common/util/MoreLikeThisParams.java rename to src/java/org/apache/solr/common/params/MoreLikeThisParams.java index 4d8193a63ca..1cee9497501 100644 --- a/src/java/org/apache/solr/common/util/MoreLikeThisParams.java +++ b/src/java/org/apache/solr/common/params/MoreLikeThisParams.java @@ -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 diff --git a/src/java/org/apache/solr/handler/MoreLikeThisHandler.java b/src/java/org/apache/solr/handler/MoreLikeThisHandler.java index e055184ebb0..4a037e7b3dc 100644 --- a/src/java/org/apache/solr/handler/MoreLikeThisHandler.java +++ b/src/java/org/apache/solr/handler/MoreLikeThisHandler.java @@ -38,12 +38,12 @@ import org.apache.lucene.search.similar.MoreLikeThis; 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; diff --git a/src/java/org/apache/solr/handler/StandardRequestHandler.java b/src/java/org/apache/solr/handler/StandardRequestHandler.java index 27a34e5199c..360677a7acb 100644 --- a/src/java/org/apache/solr/handler/StandardRequestHandler.java +++ b/src/java/org/apache/solr/handler/StandardRequestHandler.java @@ -33,8 +33,8 @@ import org.apache.solr.search.*; 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;