IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Caching
editCaching
editBy default, some filters are cached or not cached. You can have a fine
tuning control using cache(boolean)
method when exists. For example:
FilterBuilder filter = FilterBuilders.andFilter( FilterBuilders.rangeFilter("postDate").from("2010-03-01").to("2010-04-01"), FilterBuilders.prefixFilter("name.second", "ba") ) .cache(true);