Global.helma.Search.Index.prototype.size ()
Returns the number of documents in this index.

  • Returns
    The number of documents in this index.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
391:   helma.Search.Index.prototype.size = function() {
392:       try {
393:           var reader = this.getReader();
394:           return reader.numDocs();
395:       } finally {
396:           if (reader != null) {
397:               reader.close();
398:           }
399:       }
400:      return;
401:  }