Global.helma.Search.QueryFilter (q)
Constructs a new QueryFilter instance. This class wraps a lucene QueryFilter.

  • Parameter {helma.Search.Query}:
    q The query object to use as the basis for the QueryFilter instance.
  • Returns
    A newly created QueryFilter instance.
Sourcecode in /home/hannes/helma/modules/helma/Search.js:
122:   helma.Search.QueryFilter = function(q) {
123:       var wrappedFilter = new Packages.org.apache.lucene.search.QueryFilter(q.getQuery());
124:   
125:       this.getFilter = function() {
126:           return wrappedFilter;
127:       };
128:   
129:       this.toString = function() {
130:           return wrappedFilter.toString();
131:      };
132:  
133:      return this;
134:  }