Skip to content

Commit

Permalink
Remove numeric_range filter
Browse files Browse the repository at this point in the history
As done with #4034, `numeric_range` filter has been deprecated since 1.0.0.

Closes #7108.
  • Loading branch information
dadoonet committed Aug 13, 2014
1 parent 270b109 commit 655282a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 586 deletions.
13 changes: 0 additions & 13 deletions src/main/java/org/elasticsearch/index/query/FilterBuilders.java
Expand Up @@ -296,19 +296,6 @@ public static RangeFilterBuilder rangeFilter(String name) {
return new RangeFilterBuilder(name);
}

/**
* A filter that restricts search results to values that are within the given numeric range. Uses the
* field data cache (loading all the values for the specified field into memory)
*
* @param name The field name
* @deprecated The numeric_range filter will be removed at some point in time in favor for the range filter with
* the execution mode <code>fielddata</code>.
*/
@Deprecated
public static NumericRangeFilterBuilder numericRangeFilter(String name) {
return new NumericRangeFilterBuilder(name);
}

/**
* A filter that simply wraps a query.
*
Expand Down

0 comments on commit 655282a

Please sign in to comment.