storeOffsetsWithPositions' is a bit of a mouthful
Yeah, but it's pretty descriptive of what it does (i.e. I won't need to go look up if it's referring to term vector offsets or not).
options = IndexOptions.DOCS_AND_FREQS_AND_POSITIONS_AND_OFFSETS;
Now that is a mouthful
micro-optimization: we should be able to throw an "else" before your "if", right?