Java api

Hi shay

In JAVA API;
SearchResponse.getFacets().getFacets();
Always returns null

method
SearchResponse.getFacets().facetsAsMap();
is OK

may not need to have redundancy of methods in classes and Facets Facet

cheers
Tony

Fixed it. The reason for the redundancy is to work nicesly in other langs /
frameworks that expect the getter notation, for example, groovy.

On Sat, May 22, 2010 at 8:46 PM, tfreitas tfreitas@gmail.com wrote:

Hi shay

In JAVA API;
SearchResponse.getFacets().getFacets();
Always returns null

method
SearchResponse.getFacets().facetsAsMap();
is OK

may not need to have redundancy of methods in classes and Facets Facet

cheers
Tony

Can u show me how to use getfacet method with searchresponse ??

Any help will be appreciated

Thanks