IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Terms Filteredit
See Terms Filter
FilterBuilders.termsFilter("user", "kimchy", "elasticsearch") .execution("plain"); // Optional, can be also "bool", "and" or "or" // or "bool_nocache", "and_nocache" or "or_nocache"
Note that you can ask not to cache the result using
TermsFilterBuilder#cache(boolean)
method. See Caching.