Global.helma.Search.BooleanQuery (field, str, clause, analyzer)
Boolean Query constructor

  • Parameter String:
    name of the field
  • Parameter String:
    query string
  • Returns
    Object BooleanQuery object
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
828:   helma.Search.BooleanQuery = function(field, str, clause, analyzer) {
829:       this.query = new Packages.org.apache.lucene.search.BooleanQuery();
830:   
831:       /**
832:        * Main constructor body
833:        */
834:       if (field && str) {
835:           this.addTerm.apply(this, arguments);
836:       }
837:  
838:      return this;
839:  }