add missing @Override annotation
This commit is contained in:
parent
b979af109c
commit
1baee8e40f
|
@ -129,7 +129,7 @@ public class DateHistogramFacetBuilder extends AbstractFacetBuilder {
|
|||
* Should the facet run in global mode (not bounded by the search query) or not (bounded by
|
||||
* the search query). Defaults to <tt>false</tt>.
|
||||
*/
|
||||
public DateHistogramFacetBuilder global(boolean global) {
|
||||
@Override public DateHistogramFacetBuilder global(boolean global) {
|
||||
super.global(global);
|
||||
return this;
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ public class DateHistogramFacetBuilder extends AbstractFacetBuilder {
|
|||
/**
|
||||
* An additional filter used to further filter down the set of documents the facet will run on.
|
||||
*/
|
||||
public DateHistogramFacetBuilder facetFilter(XContentFilterBuilder filter) {
|
||||
@Override public DateHistogramFacetBuilder facetFilter(XContentFilterBuilder filter) {
|
||||
this.facetFilter = filter;
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ public class FieldSortBuilder extends SortBuilder {
|
|||
/**
|
||||
* The order of sorting. Defaults to {@link SortOrder#ASC}.
|
||||
*/
|
||||
public FieldSortBuilder order(SortOrder order) {
|
||||
@Override public FieldSortBuilder order(SortOrder order) {
|
||||
this.order = order;
|
||||
return this;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ public class FieldSortBuilder extends SortBuilder {
|
|||
* Sets the value when a field is missing in a doc. Can also be set to <tt>_last</tt> or
|
||||
* <tt>_first</tt> to sort missing last or first respectively.
|
||||
*/
|
||||
public FieldSortBuilder missing(Object missing) {
|
||||
@Override public FieldSortBuilder missing(Object missing) {
|
||||
this.missing = missing;
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ public class GeoDistanceSortBuilder extends SortBuilder {
|
|||
/**
|
||||
* The order of sorting. Defaults to {@link SortOrder#ASC}.
|
||||
*/
|
||||
public GeoDistanceSortBuilder order(SortOrder order) {
|
||||
@Override public GeoDistanceSortBuilder order(SortOrder order) {
|
||||
this.order = order;
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,7 @@ public class ScoreSortBuilder extends SortBuilder {
|
|||
/**
|
||||
* The order of sort scoring. By default, its {@link SortOrder#DESC}.
|
||||
*/
|
||||
public ScoreSortBuilder order(SortOrder order) {
|
||||
@Override public ScoreSortBuilder order(SortOrder order) {
|
||||
this.order = order;
|
||||
return this;
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ public class ScriptSortBuilder extends SortBuilder {
|
|||
/**
|
||||
* Sets the sort order.
|
||||
*/
|
||||
public ScriptSortBuilder order(SortOrder order) {
|
||||
@Override public ScriptSortBuilder order(SortOrder order) {
|
||||
this.order = order;
|
||||
return this;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue