Global.helma.Search.Index.getWriter (create)
Returns an IndexWriter instance that can be used to add documents to the underlying index or to perform various other modifying operations. If the index is currently locked this method will try for the next two seconds to create the IndexWriter, otherwise it will throw an error.

  • Returns
    An IndexWriter instance.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
285:   this.getWriter = function(create) {
286:           return, "IndexWriter", create);
287:       }