Which operations out of (Count) or (Search with size=0) will be faster in fetching the response count?
Since, count API for Java is deprecated for versions after 2.1.0, Is (Search with size=0) the same in terms of performance or any better operation is available for counting the records?
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.