## helma.Search.Query

    Object
       |
       +--helma.Search.Query

Direct Known Subclasses:
  helma.Search.WildcardQuery, helma.Search.FuzzyQuery, helma.Search.BooleanQuery, helma.Search.PrefixQuery, helma.Search.PhraseQuery, helma.Search.TermQuery, helma.Search.RangeQuery

Base class for the various query constructors. Don't call this directly, as it provides just basic methods used in all of its extends.
Defined in Search.js

SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods

Constructor Summary
`helma.Search.Query()` Creates a new instance of helma.Search.Query

Methods Summary
`Number` | `getBoost()` Returns the boost factor of this query.
`org.apache.lucene.search.Query` | `getQuery()` Returns the wrapped Lucene Query object.
`void` | `setBoost(<Number> fact)` Sets the boost factor of this query clause to the given number.

Constructor Detail

### helma.Search.Query

    helma.Search.Query()

Creates a new instance of helma.Search.Query

Method Detail

### getBoost

    Number getBoost()

Returns the boost factor of this query.

### getQuery

    org.apache.lucene.search.Query getQuery()

Returns the wrapped Lucene Query object.

Returns:

The wrapped query object

### setBoost

    void setBoost(<Number> fact)

Sets the boost factor of this query clause to the given number. Documents matching this query will have their score multiplied with the given factor

Parameters:

`fact` - The factor to multiply the score of matching documents with.

SUMMARY: Constructor | Properties | Methods | DETAIL: Constructor | Properties | Methods

Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007