You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/09/10 21:08:41 UTC
svn commit: r1383055 - in /lucene/dev/trunk/solr: ./
core/src/java/org/apache/solr/core/ core/src/java/org/apache/solr/response/
core/src/java/org/apache/solr/search/
Author: rmuir
Date: Mon Sep 10 19:08:41 2012
New Revision: 1383055
URL: http://svn.apache.org/viewvc?rev=1383055&view=rev
Log:
fix remaining broken html and turn on check in linter
Modified:
lucene/dev/trunk/solr/build.xml
lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLWriter.java
lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/DocIterator.java
lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/FunctionQParser.java
lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QueryParsing.java
Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Mon Sep 10 19:08:41 2012
@@ -552,7 +552,7 @@
<target name="javadocs-lint" depends="javadocs">
<check-broken-links dir="build/docs"/>
<!-- TODO: add missing package.htmls and bump this to level=package -->
- <!-- <check-missing-javadocs dir="build/docs" level="none"/> -->
+ <check-missing-javadocs dir="build/docs" level="none"/>
</target>
<!-- install-maven-tasks is *not* a useless dependency. do not remove -->
Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java Mon Sep 10 19:08:41 2012
@@ -826,7 +826,7 @@ public final class SolrCore implements S
* <p>
* <p>
* The behavior of this method is determined by the result of decrementing
- * the core's reference count (A core is created with a refrence count of 1)...
+ * the core's reference count (A core is created with a reference count of 1)...
* </p>
* <ul>
* <li>If reference count is > 0, the usage count is decreased by 1 and no
@@ -991,14 +991,14 @@ public final class SolrCore implements S
}
/**
- * Returns an unmodifieable Map containing the registered handlers of the specified type.
+ * Returns an unmodifiable Map containing the registered handlers of the specified type.
*/
public Map<String,SolrRequestHandler> getRequestHandlers(Class clazz) {
return reqHandlers.getAll(clazz);
}
/**
- * Returns an unmodifieable Map containing the registered handlers
+ * Returns an unmodifiable Map containing the registered handlers
*/
public Map<String,SolrRequestHandler> getRequestHandlers() {
return reqHandlers.getRequestHandlers();
@@ -1016,8 +1016,8 @@ public final class SolrCore implements S
* http://${host}:${port}/${context}/select?qt=${handlerName}
* </pre>
*
- * Handlers <em>must</em> be initalized before getting registered. Registered
- * handlers can immediatly accept requests.
+ * Handlers <em>must</em> be initialized before getting registered. Registered
+ * handlers can immediately accept requests.
*
* This call is thread safe.
*
@@ -1203,7 +1203,7 @@ public final class SolrCore implements S
}
- /** Opens a new searcher and returns a RefCounted<SolrIndexSearcher> with it's reference incremented.
+ /** Opens a new searcher and returns a RefCounted<SolrIndexSearcher> with it's reference incremented.
*
* "realtime" means that we need to open quickly for a realtime view of the index, hence don't do any
* autowarming and add to the _realtimeSearchers queue rather than the _searchers queue (so it won't
@@ -1212,7 +1212,7 @@ public final class SolrCore implements S
*
* realtimeSearcher is updated to the latest opened searcher, regardless of the value of "realtime".
*
- * This method aquires openSearcherLock - do not call with searckLock held!
+ * This method acquires openSearcherLock - do not call with searckLock held!
*/
public RefCounted<SolrIndexSearcher> openNewSearcher(boolean updateHandlerReopens, boolean realtime) {
SolrIndexSearcher tmp;
@@ -1984,7 +1984,7 @@ public final class SolrCore implements S
/**
*
* @param registry The map to which the instance should be added to. The key is the name attribute
- * @param type The type of the Plugin. These should be standard ones registerd by type.getName() in SolrConfig
+ * @param type The type of the Plugin. These should be standard ones registered by type.getName() in SolrConfig
* @return The default if any
*/
public <T> T initPlugins(Map<String, T> registry, Class<T> type) {
Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLWriter.java?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLWriter.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/response/XMLWriter.java Mon Sep 10 19:08:41 2012
@@ -45,7 +45,7 @@ public class XMLWriter extends TextRespo
private static final char[] XML_STYLESHEET="<?xml-stylesheet type=\"text/xsl\" href=\"".toCharArray();
private static final char[] XML_STYLESHEET_END="\"?>\n".toCharArray();
- /***
+ /*
private static final char[] XML_START2_SCHEMA=(
"<response xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+" xsi:noNamespaceSchemaLocation=\"http://pi.cnet.com/cnet-search/response.xsd\">\n"
@@ -90,7 +90,7 @@ public class XMLWriter extends TextRespo
writer.write(XML_STYLESHEET_END);
}
- /***
+ /*
String noSchema = req.getParams().get("noSchema");
// todo - change when schema becomes available?
if (false && noSchema == null)
@@ -180,7 +180,7 @@ public class XMLWriter extends TextRespo
/**
* The SolrDocument should already have multivalued fields implemented as
- * Collections -- this will not rewrite to <arr>
+ * Collections -- this will not rewrite to <arr>
*/
@Override
public void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx ) throws IOException {
Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/DocIterator.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/DocIterator.java?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/DocIterator.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/DocIterator.java Mon Sep 10 19:08:41 2012
@@ -34,9 +34,8 @@ public interface DocIterator extends Ite
//public boolean hasNext();
/**
- * Returns the next document id if hasNext()==true
+ * Returns the next document id if <code>hasNext()==true</code>
*
- * <code>
* This method is equivalent to <code>next()</code>, but avoids the creation
* of an Integer Object.
* @see #next()
Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/FunctionQParser.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/FunctionQParser.java?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/FunctionQParser.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/FunctionQParser.java Mon Sep 10 19:08:41 2012
@@ -213,7 +213,7 @@ public class FunctionQParser extends QPa
* Parse a list of ValueSource. Must be the final set of arguments
* to a ValueSource.
*
- * @return List<ValueSource>
+ * @return List<ValueSource>
* @throws ParseException
*/
public List<ValueSource> parseValueSourceList() throws ParseException {
Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QueryParsing.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QueryParsing.java?rev=1383055&r1=1383054&r2=1383055&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QueryParsing.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/QueryParsing.java Mon Sep 10 19:08:41 2012
@@ -226,9 +226,9 @@ public class QueryParsing {
* <p>
* The form of the sort specification string currently parsed is:
* </p>
- * <pre>>
+ * <pre>
* SortSpec ::= SingleSort [, SingleSort]*
- * SingleSort ::= <fieldname> SortDirection
+ * SingleSort ::= <fieldname> SortDirection
* SortDirection ::= top | desc | bottom | asc
* </pre>
* Examples: