mirror of https://github.com/apache/lucene.git
fix remaining broken html and turn on check in linter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383055 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a4ea891571
commit
1517b16cf4
|
@ -552,7 +552,7 @@
|
||||||
<target name="javadocs-lint" depends="javadocs">
|
<target name="javadocs-lint" depends="javadocs">
|
||||||
<check-broken-links dir="build/docs"/>
|
<check-broken-links dir="build/docs"/>
|
||||||
<!-- TODO: add missing package.htmls and bump this to level=package -->
|
<!-- 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>
|
</target>
|
||||||
|
|
||||||
<!-- install-maven-tasks is *not* a useless dependency. do not remove -->
|
<!-- install-maven-tasks is *not* a useless dependency. do not remove -->
|
||||||
|
|
|
@ -826,7 +826,7 @@ public final class SolrCore implements SolrInfoMBean {
|
||||||
* <p>
|
* <p>
|
||||||
* <p>
|
* <p>
|
||||||
* The behavior of this method is determined by the result of decrementing
|
* 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>
|
* </p>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>If reference count is > 0, the usage count is decreased by 1 and no
|
* <li>If reference count is > 0, the usage count is decreased by 1 and no
|
||||||
|
@ -991,14 +991,14 @@ public final class SolrCore implements SolrInfoMBean {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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) {
|
public Map<String,SolrRequestHandler> getRequestHandlers(Class clazz) {
|
||||||
return reqHandlers.getAll(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() {
|
public Map<String,SolrRequestHandler> getRequestHandlers() {
|
||||||
return reqHandlers.getRequestHandlers();
|
return reqHandlers.getRequestHandlers();
|
||||||
|
@ -1016,8 +1016,8 @@ public final class SolrCore implements SolrInfoMBean {
|
||||||
* http://${host}:${port}/${context}/select?qt=${handlerName}
|
* http://${host}:${port}/${context}/select?qt=${handlerName}
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* Handlers <em>must</em> be initalized before getting registered. Registered
|
* Handlers <em>must</em> be initialized before getting registered. Registered
|
||||||
* handlers can immediatly accept requests.
|
* handlers can immediately accept requests.
|
||||||
*
|
*
|
||||||
* This call is thread safe.
|
* This call is thread safe.
|
||||||
*
|
*
|
||||||
|
@ -1203,7 +1203,7 @@ public final class SolrCore implements SolrInfoMBean {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** 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
|
* "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
|
* 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 SolrInfoMBean {
|
||||||
*
|
*
|
||||||
* realtimeSearcher is updated to the latest opened searcher, regardless of the value of "realtime".
|
* 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) {
|
public RefCounted<SolrIndexSearcher> openNewSearcher(boolean updateHandlerReopens, boolean realtime) {
|
||||||
SolrIndexSearcher tmp;
|
SolrIndexSearcher tmp;
|
||||||
|
@ -1984,7 +1984,7 @@ public final class SolrCore implements SolrInfoMBean {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param registry The map to which the instance should be added to. The key is the name attribute
|
* @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
|
* @return The default if any
|
||||||
*/
|
*/
|
||||||
public <T> T initPlugins(Map<String, T> registry, Class<T> type) {
|
public <T> T initPlugins(Map<String, T> registry, Class<T> type) {
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class XMLWriter extends TextResponseWriter {
|
||||||
private static final char[] XML_STYLESHEET="<?xml-stylesheet type=\"text/xsl\" href=\"".toCharArray();
|
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_STYLESHEET_END="\"?>\n".toCharArray();
|
||||||
|
|
||||||
/***
|
/*
|
||||||
private static final char[] XML_START2_SCHEMA=(
|
private static final char[] XML_START2_SCHEMA=(
|
||||||
"<response xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
|
"<response xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
|
||||||
+" xsi:noNamespaceSchemaLocation=\"http://pi.cnet.com/cnet-search/response.xsd\">\n"
|
+" xsi:noNamespaceSchemaLocation=\"http://pi.cnet.com/cnet-search/response.xsd\">\n"
|
||||||
|
@ -90,7 +90,7 @@ public class XMLWriter extends TextResponseWriter {
|
||||||
writer.write(XML_STYLESHEET_END);
|
writer.write(XML_STYLESHEET_END);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/*
|
||||||
String noSchema = req.getParams().get("noSchema");
|
String noSchema = req.getParams().get("noSchema");
|
||||||
// todo - change when schema becomes available?
|
// todo - change when schema becomes available?
|
||||||
if (false && noSchema == null)
|
if (false && noSchema == null)
|
||||||
|
@ -180,7 +180,7 @@ public class XMLWriter extends TextResponseWriter {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The SolrDocument should already have multivalued fields implemented as
|
* The SolrDocument should already have multivalued fields implemented as
|
||||||
* Collections -- this will not rewrite to <arr>
|
* Collections -- this will not rewrite to <arr>
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx ) throws IOException {
|
public void writeSolrDocument(String name, SolrDocument doc, ReturnFields returnFields, int idx ) throws IOException {
|
||||||
|
|
|
@ -34,9 +34,8 @@ public interface DocIterator extends Iterator<Integer> {
|
||||||
//public boolean hasNext();
|
//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
|
* This method is equivalent to <code>next()</code>, but avoids the creation
|
||||||
* of an Integer Object.
|
* of an Integer Object.
|
||||||
* @see #next()
|
* @see #next()
|
||||||
|
|
|
@ -213,7 +213,7 @@ public class FunctionQParser extends QParser {
|
||||||
* Parse a list of ValueSource. Must be the final set of arguments
|
* Parse a list of ValueSource. Must be the final set of arguments
|
||||||
* to a ValueSource.
|
* to a ValueSource.
|
||||||
*
|
*
|
||||||
* @return List<ValueSource>
|
* @return List<ValueSource>
|
||||||
* @throws ParseException
|
* @throws ParseException
|
||||||
*/
|
*/
|
||||||
public List<ValueSource> parseValueSourceList() throws ParseException {
|
public List<ValueSource> parseValueSourceList() throws ParseException {
|
||||||
|
|
|
@ -226,9 +226,9 @@ public class QueryParsing {
|
||||||
* <p>
|
* <p>
|
||||||
* The form of the sort specification string currently parsed is:
|
* The form of the sort specification string currently parsed is:
|
||||||
* </p>
|
* </p>
|
||||||
* <pre>>
|
* <pre>
|
||||||
* SortSpec ::= SingleSort [, SingleSort]*
|
* SortSpec ::= SingleSort [, SingleSort]*
|
||||||
* SingleSort ::= <fieldname> SortDirection
|
* SingleSort ::= <fieldname> SortDirection
|
||||||
* SortDirection ::= top | desc | bottom | asc
|
* SortDirection ::= top | desc | bottom | asc
|
||||||
* </pre>
|
* </pre>
|
||||||
* Examples:
|
* Examples:
|
||||||
|
|
Loading…
Reference in New Issue