IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
And Filter
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
And Filter
editSee And Filter
FilterBuilder filter = andFilter( rangeFilter("postDate").from("2010-03-01").to("2010-04-01"), prefixFilter("name.second", "ba"));
Note that you can cache the result using
AndFilterBuilder#cache(boolean)
method. See Caching.
Was this helpful?
Thank you for your feedback.