IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Term Filter

edit

See Term Filter

FilterBuilders.termFilter("user", "kimchy");

Note that you can ask not to cache the result using TermFilterBuilder#cache(boolean) method. See Caching.