Global.helma.Search.Index.prototype.optimize ()
Optimizes the underlying index.

Sourcecode in /home/hannes/helma/modules/helma/Search.js:
406:   helma.Search.Index.prototype.optimize = function() {
407:       try {
408:           var writer = this.getWriter();
409:           writer.optimize();
410:       } finally {
411:           if (writer != null) {
412:               writer.close();
413:           }
414:       }
415:      return;
416:  }