Correct some of the jdk17-offending javadocs.

This commit is contained in:
Dawid Weiss 2021-04-05 20:19:56 +02:00
parent fbf9191abf
commit baceb16904
5 changed files with 2 additions and 18 deletions

View File

@ -642,10 +642,8 @@ public final class FeatureField extends Field {
* <p>This sort orders documents by descending value of a feature. The value returned in {@link
* FieldDoc} for the hits contains a Float instance with the feature value.
*
* <p>If a document is missing the field, then it is treated as having a vaue of <code>0.0f</code>
* .
*
* <p>
* <p>If a document is missing the field, then it is treated as having a value of <code>0.0f
* </code>.
*
* @param field field name. Must not be null.
* @param featureName feature name. Must not be null.

View File

@ -148,8 +148,6 @@ public class XYPointField extends Field {
/**
* Create a query for matching a bounding box.
*
* <p>
*
* @param field field name. must not be null.
* @param minX x lower bound.
* @param maxX x upper bound.

View File

@ -57,8 +57,6 @@ public abstract class TermsEnum implements BytesRefIterator {
* the enum is unpositioned. For some codecs, seekExact may be substantially faster than {@link
* #seekCeil}.
*
* <p>
*
* @return true if the term is found; return false if the enum is unpositioned.
*/
public abstract boolean seekExact(BytesRef text) throws IOException;

View File

@ -148,8 +148,6 @@ public abstract class DocIdSetIterator {
* <li>Otherwise it should return the doc ID it is currently on.
* </ul>
*
* <p>
*
* @since 2.9
*/
public abstract int docID();
@ -189,8 +187,6 @@ public abstract class DocIdSetIterator {
* Scorers. If your implementation cannot efficiently determine that it should exhaust, it is
* recommended that you check for that value in each call to this method.
*
* <p>
*
* @since 2.9
*/
public abstract int advance(int target) throws IOException;

View File

@ -97,8 +97,6 @@ public class QueryBuilder {
/**
* Creates a boolean query from the query text.
*
* <p>
*
* @param field field name
* @param queryText text to be passed to the analyzer
* @param operator operator used for clauses between analyzer tokens.
@ -128,8 +126,6 @@ public class QueryBuilder {
/**
* Creates a phrase query from the query text.
*
* <p>
*
* @param field field name
* @param queryText text to be passed to the analyzer
* @param phraseSlop number of other words permitted between words in query phrase
@ -143,8 +139,6 @@ public class QueryBuilder {
/**
* Creates a minimum-should-match query from the query text.
*
* <p>
*
* @param field field name
* @param queryText text to be passed to the analyzer
* @param fraction of query terms {@code [0..1]} that should match