Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fixed broken javadoc in QueryUtils and QueryCommand

Christopher John Maleed2c8e97ea37
diff --git a/solr/core/src/java/org/apache/solr/search/QueryUtils.java b/solr/core/src/java/org/apache/solr/search/QueryUtils.java
index 5f6cc6fc132..2eb6011827f 100755
--- a/solr/core/src/java/org/apache/solr/search/QueryUtils.java
+++ b/solr/core/src/java/org/apache/solr/search/QueryUtils.java
@@ -48,8 +48,8 @@ public class QueryUtils {
* <p>
* The caller can tell the sign of the original by a reference comparison between
* the original and returned query.
- * @param q
- * @return
+ * @param q Query to create the absolute version of
+ * @return Absolute version of the Query
*/
public static Query getAbs(Query q) {
if (q instanceof WrappedQuery) {
diff --git a/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/QueryCommand.java b/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/QueryCommand.java
index ebc0a307605..d6e1517b835 100644
--- a/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/QueryCommand.java
+++ b/solr/core/src/java/org/apache/solr/search/grouping/distributed/command/QueryCommand.java
@@ -78,7 +78,7 @@ public class QueryCommand implements Command<QueryCommandResult> {
* Sets the docSet based on the created {@link DocSet}
*
* @param searcher The searcher executing the
- * @return
+ * @return this
* @throws IOException
*/
public Builder setDocSet(SolrIndexSearcher searcher) throws IOException {