Include facets in the rest response.

This commit is contained in:
Martijn van Groningen 2013-11-26 18:59:21 +01:00
parent 1510cd6923
commit dafb90e62a
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,9 @@ public class PercolateResponse extends BroadcastOperationResponse implements Ite
}
builder.endArray();
}
if (facets != null) {
facets.toXContent(builder, params);
}
builder.endObject();
return builder;