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
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 nullmethod
SearchResponse.getFacets().facetsAsMap();
is OKmay 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
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.