IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Terms Filter
editTerms Filter
editSee 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.