Global.helma.Search.Index.prototype.getFieldNames ()
Returns an array containing all field names in this index.

  • Returns
    An array with the field names in this index.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
423:   helma.Search.Index.prototype.getFieldNames = function() {
424:       try {
425:           var reader = this.getReader();
426:           var coll = reader.getFieldNames().toArray();
427:           // convert java array into javascript array
428:           var result = [];
429:           for (var i in coll) {
430:               result[i] = coll[i];
431:           }
432:          return result;
433:      } finally {
434:          if (reader != null) {
435:              reader.close();
436:          }
437:      }
438:      return;
439:  }