}
} else {
throw new QueryParsingException(parseContext.index(), "[has_child] query does not support [" + currentFieldName + "]");
}
} else if (token.isValue()) {
<BUG>if ("type".equals(currentFieldName)) {
childType = parser.text();</BUG>
} else if ("_scope".equals(currentFieldName)) {
scope = parser.text();
} else if ("boost".equals(currentFieldName)) {

}
@Override
public String[] names() {
return new String[]{NAME, Strings.toCamelCase(NAME)};
}
