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 ho...@apache.org on 2008/07/18 00:44:31 UTC
svn commit: r677767 - in /lucene/solr/trunk/src/java/org/apache/solr:
common/util/ core/ handler/component/ search/ spelling/ update/
Author: hossman
Date: Thu Jul 17 15:44:30 2008
New Revision: 677767
URL: http://svn.apache.org/viewvc?rev=677767&view=rev
Log:
fix a lot of trivial javadoc warnings
Modified:
lucene/solr/trunk/src/java/org/apache/solr/common/util/RTimer.java
lucene/solr/trunk/src/java/org/apache/solr/core/SolrConfig.java
lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
lucene/solr/trunk/src/java/org/apache/solr/handler/component/SearchComponent.java
lucene/solr/trunk/src/java/org/apache/solr/search/FunctionQParser.java
lucene/solr/trunk/src/java/org/apache/solr/search/QParser.java
lucene/solr/trunk/src/java/org/apache/solr/search/ValueSourceParser.java
lucene/solr/trunk/src/java/org/apache/solr/spelling/SolrSpellChecker.java
lucene/solr/trunk/src/java/org/apache/solr/update/CommitUpdateCommand.java
lucene/solr/trunk/src/java/org/apache/solr/update/UpdateHandler.java
Modified: lucene/solr/trunk/src/java/org/apache/solr/common/util/RTimer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/common/util/RTimer.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/common/util/RTimer.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/common/util/RTimer.java Thu Jul 17 15:44:30 2008
@@ -27,7 +27,7 @@
* started automatically when created.
*
* @since solr 1.3
- * @revision $Id$
+ * @version $Id$
*/
public class RTimer {
Modified: lucene/solr/trunk/src/java/org/apache/solr/core/SolrConfig.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrConfig.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/SolrConfig.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/SolrConfig.java Thu Jul 17 15:44:30 2008
@@ -18,6 +18,7 @@
package org.apache.solr.core;
import org.apache.solr.common.util.NamedList;
+import org.apache.solr.handler.PingRequestHandler;
import org.apache.solr.request.LocalSolrQueryRequest;
import org.apache.solr.request.SolrQueryRequest;
@@ -189,7 +190,7 @@
* Returns a Request object based on the admin/pingQuery section
* of the Solr config file.
*
- * @use {@link PingRequestHandler} instead
+ * @deprecated use {@link PingRequestHandler} instead
*/
@Deprecated
public SolrQueryRequest getPingQueryRequest(SolrCore core) {
Modified: lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/core/SolrCore.java Thu Jul 17 15:44:30 2008
@@ -541,7 +541,7 @@
* Returns a Request object based on the admin/pingQuery section
* of the Solr config file.
*
- * @use {@link org.apache.solr.handler.PingRequestHandler} instead
+ * @deprecated use {@link org.apache.solr.handler.PingRequestHandler} instead
*/
@Deprecated
public SolrQueryRequest getPingQueryRequest() {
Modified: lucene/solr/trunk/src/java/org/apache/solr/handler/component/SearchComponent.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/handler/component/SearchComponent.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/handler/component/SearchComponent.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/handler/component/SearchComponent.java Thu Jul 17 15:44:30 2008
@@ -53,8 +53,10 @@
*/
public abstract void process(ResponseBuilder rb) throws IOException;
- /** Process for a distributed search.
- * @returns the next stage for this component */
+ /**
+ * Process for a distributed search.
+ * @return the next stage for this component
+ */
public int distributedProcess(ResponseBuilder rb) throws IOException {
return ResponseBuilder.STAGE_DONE;
}
Modified: lucene/solr/trunk/src/java/org/apache/solr/search/FunctionQParser.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/FunctionQParser.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/FunctionQParser.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/FunctionQParser.java Thu Jul 17 15:44:30 2008
@@ -67,7 +67,6 @@
/**
* TODO: Doc
*
- * @return
* @throws ParseException
*/
public String parseId() throws ParseException {
@@ -107,7 +106,6 @@
/**
* Parse an individual ValueSource.
*
- * @return
* @throws ParseException
*/
public ValueSource parseValueSource() throws ParseException {
@@ -118,7 +116,6 @@
/**
* TODO: Doc
*
- * @return
* @throws ParseException
*/
public Query parseNestedQuery() throws ParseException {
@@ -170,7 +167,6 @@
* Parse an individual value source.
*
* @param doConsumeDelimiter whether to consume a delimiter following the ValueSource
- * @return
* @throws ParseException
*/
protected ValueSource parseValueSource(boolean doConsumeDelimiter) throws ParseException {
Modified: lucene/solr/trunk/src/java/org/apache/solr/search/QParser.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/QParser.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/QParser.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/QParser.java Thu Jul 17 15:44:30 2008
@@ -77,9 +77,10 @@
this.qstr = s;
}
- /** Returns the resulting query from this QParser, calling parse() only the
+ /**
+ * Returns the resulting query from this QParser, calling parse() only the
* first time and caching the Query result.
- * @return
+ *
* @throws ParseException
*/
public Query getQuery() throws ParseException {
Modified: lucene/solr/trunk/src/java/org/apache/solr/search/ValueSourceParser.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/ValueSourceParser.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/ValueSourceParser.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/ValueSourceParser.java Thu Jul 17 15:44:30 2008
@@ -57,7 +57,6 @@
* Parse the user input into a ValueSource.
*
* @param fp
- * @return
* @throws ParseException
*/
public abstract ValueSource parse(FunctionQParser fp) throws ParseException;
Modified: lucene/solr/trunk/src/java/org/apache/solr/spelling/SolrSpellChecker.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/spelling/SolrSpellChecker.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/spelling/SolrSpellChecker.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/spelling/SolrSpellChecker.java Thu Jul 17 15:44:30 2008
@@ -109,7 +109,6 @@
* @param count The maximum number of suggestions to return
* @param onlyMorePopular TODO
* @param extendedResults TODO
- * @return
* @throws IOException
*/
public abstract SpellingResult getSuggestions(Collection<Token> tokens, IndexReader reader, int count,
Modified: lucene/solr/trunk/src/java/org/apache/solr/update/CommitUpdateCommand.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/update/CommitUpdateCommand.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/update/CommitUpdateCommand.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/update/CommitUpdateCommand.java Thu Jul 17 15:44:30 2008
@@ -27,7 +27,7 @@
/**
* During optimize, optimize down to <= this many segments. Must be >= 1
*
- * @see {@link org.apache.lucene.index.IndexWriter#optimize(int)}
+ * @see org.apache.lucene.index.IndexWriter#optimize(int)
*/
public int maxOptimizeSegments = 1;
Modified: lucene/solr/trunk/src/java/org/apache/solr/update/UpdateHandler.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/update/UpdateHandler.java?rev=677767&r1=677766&r2=677767&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/update/UpdateHandler.java (original)
+++ lucene/solr/trunk/src/java/org/apache/solr/update/UpdateHandler.java Thu Jul 17 15:44:30 2008
@@ -36,6 +36,7 @@
import org.apache.solr.schema.FieldType;
import org.apache.solr.common.SolrException;
import org.apache.solr.common.util.DOMUtil;
+import org.apache.solr.util.plugin.SolrCoreAware;
import org.apache.solr.core.*;
import javax.xml.xpath.XPathConstants;