Docs > API > SearchTotal

SearchTotal objects can be returned by a search using Finder. For example:
var f = new Finder([
{returnFormat: 'totals'}
]);

var result = f.find();
searchTotal = result[0];
out.write(searchTotal.total);
Properties
total Total number of search results.
value The value of the first result.
values The value of all results (as an array).

Can't find what you're looking for?

Let us know and we'll see if we can help.