Global.helma.Search ()
Constructs a new instance of Search. This merely checks if the Lucene library is in the application classpath.

  • Returns
    A newly created instance of this prototype.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
44:   helma.Search = function() {
45:       try {
46:           var c = java.lang.Class.forName("org.apache.lucene.analysis.Analyzer",
47:                                           true, app.getClassLoader());
48:          // FIXME: add additional check for version, since we need >= 1.9
49:       } catch (e) {
50:           throw("helma.Search needs lucene.jar in version > 1.9 \
51:                  in lib/ext or application directory \
52:                  [http://lucene.apache.org/]");
53:      }
54:      return this;
55:  }