switch (token) {
case START_ARRAY:
if ("requests".equals(fieldName)) {
while ((token = p.nextToken()) != XContentParser.Token.END_ARRAY) {
assert token == XContentParser.Token.START_OBJECT;
XContentBuilder payloadBuilder = XContentFactory.contentBuilder(p.contentType()).copyCurrentStructure(p);
SearchRequest req = new SearchRequest();
req.source(payloadBuilder.bytes(), contentUnsafe);
builder.addSearchRequest(req);
}
} else if ("competitors".equals(fieldName)) {