I want to return a category list of users so for example if my query returns 10 users i want to show those 10 users in a new tab(category list) and this category list should only pop up if the query returns any records else the category list won't be created.
Thank you for the reply but i think you misunderstood the question. whatever i set the size to it will return results doesn't matter what the query is my question is. Is there a way to get response as true if my query return 1 or more document and false if my query returns no document.
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.