b
-.txt
d
Yeah I have tried basically that
Copy code
var results = matrixSearch.run();
        alert(results);
        alert(results.length);
I verify I am getting a result set
when I access results.length I get undefined
b
If you're getting undefined it's because there aren't any results. Could be the filters that are applied. Try running your code in console line by line.
I don't use 2.0 so there may be some discrepancy in the way to retrieve a result set vs 1.0
b
You have to get all the results from a resultset to figure out the length
If you want to know the number of results beforehand, use a paged search