fix to build the facets map on getFacets

This commit is contained in:
kimchy 2010-05-22 21:12:07 +03:00
parent a372643ca9
commit 596f9db8d8
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class Facets implements Streamable, ToXContent, Iterable<Facet> {
* Returns the {@link Facet}s keyed by map. * Returns the {@link Facet}s keyed by map.
*/ */
public Map<String, Facet> getFacets() { public Map<String, Facet> getFacets() {
return facetsAsMap; return facetsAsMap();
} }
/** /**