Include facets in the rest response.
This commit is contained in:
parent
1510cd6923
commit
dafb90e62a
|
@ -147,6 +147,9 @@ public class PercolateResponse extends BroadcastOperationResponse implements Ite
|
|||
}
|
||||
builder.endArray();
|
||||
}
|
||||
if (facets != null) {
|
||||
facets.toXContent(builder, params);
|
||||
}
|
||||
|
||||
builder.endObject();
|
||||
return builder;
|
||||
|
|
Loading…
Reference in New Issue