org.elasticsearch.action.support.ActionFilter Java Examples
The following examples show how to use
org.elasticsearch.action.support.ActionFilter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: OpenShiftElasticSearchPlugin.java From openshift-elasticsearch-plugin with Apache License 2.0 | 5 votes |
@Override public List<Class<? extends ActionFilter>> getActionFilters() { List<Class<? extends ActionFilter>> list = new ArrayList<>(); list.add(FieldStatsResponseFilter.class); list.addAll(sgPlugin.getActionFilters()); return list; }
Example #2
Source File: ActionModule.java From Elasticsearch with Apache License 2.0 | 4 votes |
public ActionModule registerFilter(Class<? extends ActionFilter> actionFilter) { actionFilters.add(actionFilter); return this; }
Example #3
Source File: RangerElasticsearchPlugin.java From ranger with Apache License 2.0 | 4 votes |
@Override public List<ActionFilter> getActionFilters() { return Collections.singletonList(rangerSecurityActionFilter); }
Example #4
Source File: DynamicRankingPlugin.java From elasticsearch-dynarank with Apache License 2.0 | 4 votes |
@Override public List<ActionFilter> getActionFilters() { return Arrays.asList(new SearchActionFilter(settings)); }
Example #5
Source File: HttpActionModule.java From elasticsearch-helper with Apache License 2.0 | 4 votes |
public HttpActionModule registerFilter(Class<? extends ActionFilter> actionFilter) { actionFilters.add(actionFilter); return this; }