Global.helma.Search.PrefixQuery (field, str)
Constructs a new PrefixQuery instance.

  • Parameter {String}:
    field The name of the field
  • Parameter {String}:
    str The query string to match
  • Returns
    A newly created PrefixQuery instance
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
980:   helma.Search.PrefixQuery = function(field, str) {
981:       var t = new Packages.org.apache.lucene.index.Term(field, str);
982:       this.query = new Packages.org.apache.lucene.search.PrefixQuery(t);
983:       return this;
984:   }