Elasticsearch builders: fix the Eclipse warnings
Now that org.elasticsearch is completely removed from Gerrit as a library. Before this change, Eclipse used to show warnings about being unable to resolve such javadoc (true) links. Change-Id: I627a7a0806da6d677148722cabcac0e7933878b3
This commit is contained in:
committed by
David Pursehouse
parent
d794850e1c
commit
b900abd5ef
@@ -20,7 +20,7 @@ import java.util.List;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A Query that matches documents matching boolean combinations of other queries. A trimmed down
|
* A Query that matches documents matching boolean combinations of other queries. A trimmed down
|
||||||
* version of {@link org.elasticsearch.index.query.BoolQueryBuilder} for this very package.
|
* version of org.elasticsearch.index.query.BoolQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
public class BoolQueryBuilder extends QueryBuilder {
|
public class BoolQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import java.io.IOException;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a query that only match on documents that the field has a value in them. A trimmed
|
* Constructs a query that only match on documents that the field has a value in them. A trimmed
|
||||||
* down version of {@link org.elasticsearch.index.query.ExistsQueryBuilder} for this very package.
|
* down version of org.elasticsearch.index.query.ExistsQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
class ExistsQueryBuilder extends QueryBuilder {
|
class ExistsQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A query that matches on all documents. A trimmed down version of {@link
|
* A query that matches on all documents. A trimmed down version of
|
||||||
* org.elasticsearch.index.query.MatchAllQueryBuilder} for this very package.
|
* org.elasticsearch.index.query.MatchAllQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
class MatchAllQueryBuilder extends QueryBuilder {
|
class MatchAllQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import java.util.Locale;
|
|||||||
/**
|
/**
|
||||||
* Match query is a query that analyzes the text and constructs a query as the result of the
|
* Match query is a query that analyzes the text and constructs a query as the result of the
|
||||||
* analysis. It can construct different queries based on the type provided. A trimmed down version
|
* analysis. It can construct different queries based on the type provided. A trimmed down version
|
||||||
* of {@link org.elasticsearch.index.query.MatchQueryBuilder} for this very package.
|
* of org.elasticsearch.index.query.MatchQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
class MatchQueryBuilder extends QueryBuilder {
|
class MatchQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -16,10 +16,7 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/** A trimmed down version of org.elasticsearch.index.query.QueryBuilder for this very package. */
|
||||||
* A trimmed down version of {@link org.elasticsearch.index.query.QueryBuilder} for this very
|
|
||||||
* package.
|
|
||||||
*/
|
|
||||||
public abstract class QueryBuilder {
|
public abstract class QueryBuilder {
|
||||||
|
|
||||||
protected QueryBuilder() {}
|
protected QueryBuilder() {}
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
package com.google.gerrit.elasticsearch.builders;
|
package com.google.gerrit.elasticsearch.builders;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A static factory for simple "import static" usage. A trimmed down version of {@link
|
* A static factory for simple "import static" usage. A trimmed down version of
|
||||||
* org.elasticsearch.index.query.QueryBuilders} for this very package.
|
* org.elasticsearch.index.query.QueryBuilders for this very package.
|
||||||
*/
|
*/
|
||||||
public abstract class QueryBuilders {
|
public abstract class QueryBuilders {
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A trimmed down and further altered version of {@link
|
* A trimmed down and further altered version of org.elasticsearch.action.support.QuerySourceBuilder
|
||||||
* org.elasticsearch.action.support.QuerySourceBuilder} for this very package.
|
* for this very package.
|
||||||
*/
|
*/
|
||||||
class QuerySourceBuilder {
|
class QuerySourceBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Query that matches documents within an range of terms. A trimmed down version of {@link
|
* A Query that matches documents within an range of terms. A trimmed down version of
|
||||||
* org.elasticsearch.index.query.RangeQueryBuilder} for this very package.
|
* org.elasticsearch.index.query.RangeQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
public class RangeQueryBuilder extends QueryBuilder {
|
public class RangeQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Query that does fuzzy matching for a specific value. A trimmed down version of {@link
|
* A Query that does fuzzy matching for a specific value. A trimmed down version of
|
||||||
* org.elasticsearch.index.query.RegexpQueryBuilder} for this very package.
|
* org.elasticsearch.index.query.RegexpQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
class RegexpQueryBuilder extends QueryBuilder {
|
class RegexpQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,7 @@ import java.util.List;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* A search source builder allowing to easily build search source. A trimmed down and further
|
* A search source builder allowing to easily build search source. A trimmed down and further
|
||||||
* altered version of {@link org.elasticsearch.search.builder.SearchSourceBuilder} for this very
|
* altered version of org.elasticsearch.search.builder.SearchSourceBuilder for this very package.
|
||||||
* package.
|
|
||||||
*/
|
*/
|
||||||
public class SearchSourceBuilder {
|
public class SearchSourceBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@ package com.google.gerrit.elasticsearch.builders;
|
|||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A Query that matches documents containing a term. A trimmed down version of {@link
|
* A Query that matches documents containing a term. A trimmed down version of
|
||||||
* org.elasticsearch.index.query.TermQueryBuilder} for this very package.
|
* org.elasticsearch.index.query.TermQueryBuilder for this very package.
|
||||||
*/
|
*/
|
||||||
class TermQueryBuilder extends QueryBuilder {
|
class TermQueryBuilder extends QueryBuilder {
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,8 @@ import java.io.IOException;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A trimmed down and further altered version of {@link
|
* A trimmed down and further altered version of org.elasticsearch.common.xcontent.XContentBuilder
|
||||||
* org.elasticsearch.common.xcontent.XContentBuilder} for this very package.
|
* for this very package.
|
||||||
*/
|
*/
|
||||||
public final class XContentBuilder implements Closeable {
|
public final class XContentBuilder implements Closeable {
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ public final class XContentBuilder implements Closeable {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new builder. Make sure to call {@link #close()} when the builder is done with.
|
* Constructs a new builder. Make sure to call {@link #close()} when the builder is done with.
|
||||||
* Inspired from {@link org.elasticsearch.common.xcontent.json.JsonXContent} static block.
|
* Inspired from org.elasticsearch.common.xcontent.json.JsonXContent static block.
|
||||||
*/
|
*/
|
||||||
public XContentBuilder() throws IOException {
|
public XContentBuilder() throws IOException {
|
||||||
JsonFactory jsonFactory = new JsonFactory();
|
JsonFactory jsonFactory = new JsonFactory();
|
||||||
|
|||||||
Reference in New Issue
Block a user