private void setPathLevel() { ObjectMapper objectMapper = parseContext.nestedScope().getObjectMapper(); if (objectMapper == null) { parentFilter = parseContext.fixedBitSetFilter(NonNestedDocsFilter.INSTANCE); } else { parentFilter = parseContext.fixedBitSetFilter(objectMapper.nestedTypeFilter()); } childFilter = parseContext.fixedBitSetFilter(nestedObjectMapper.nestedTypeFilter()); parentObjectMapper = parseContext.nestedScope().nextLevel(nestedObjectMapper); }
private void resetPathLevel() { parseContext.nestedScope().previousLevel(); }