You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by an...@apache.org on 2015/05/04 19:52:55 UTC

svn commit: r1677642 - in /lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule: Rule.java package-info.java

Author: anshum
Date: Mon May  4 17:52:55 2015
New Revision: 1677642

URL: http://svn.apache.org/r1677642
Log:
SOLR-6220: Fix javadocs for precommit to pass

Added:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/package-info.java   (with props)
Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/Rule.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/Rule.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/Rule.java?rev=1677642&r1=1677641&r2=1677642&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/Rule.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/Rule.java Mon May  4 17:52:55 2015
@@ -113,10 +113,10 @@ public class Rule {
    * without violating this rule
    *
    * @param testNode       The node in question
-   * @param shardVsNodeSet
+   * @param shardVsNodeSet Set of nodes for every shard 
    * @param nodeVsTags     The pre-fetched tags for all the nodes
    * @param shardName      The shard to which this node should be attempted
-   * @return
+   * @return MatchStatus
    */
   MatchStatus tryAssignNodeToShard(String testNode,
                                    Map<String, Set<String>> shardVsNodeSet,

Added: lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/package-info.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/package-info.java?rev=1677642&view=auto
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/package-info.java (added)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/cloud/rule/package-info.java Mon May  4 17:52:55 2015
@@ -0,0 +1,23 @@
+/*
+ * 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.
+ */
+ 
+/** 
+ * Classes for managing Replica placement strategy when operating in <a href="http://wiki.apache.org/solr/SolrCloud">SolrCloud</a> mode.
+ */
+package org.apache.solr.cloud.rule;
+
+