Hi,
according to the docs:
"Indicates if the total hit count for the query should be tracked. Defaults to true".
When I use client.prepareSearch(...) and don't set setTrackTotalHits I still get the result with "gte" totals. Setting setTrackTotalHits to true solves the issue.
Either the default is false, or am I doing something wrong?
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.