I am doing the API upgrade on our system and am currently doing the jump from 1.X to 2.X. What happened to explicit caching on the filters? I did some Googling and didn't see anything about a replacement command or whether or not ES is going to handle this automatically now.
Example code from my 1.X API:
BoolFilterBuilder combinedFilter = FilterBuilders.boolFilter().cache(true);