fix to build the facets map on getFacets
This commit is contained in:
parent
a372643ca9
commit
596f9db8d8
|
@ -77,7 +77,7 @@ public class Facets implements Streamable, ToXContent, Iterable<Facet> {
|
|||
* Returns the {@link Facet}s keyed by map.
|
||||
*/
|
||||
public Map<String, Facet> getFacets() {
|
||||
return facetsAsMap;
|
||||
return facetsAsMap();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue