## helma.Search.PhraseQuery

    Object
       |
       +--helma.Search.Query
             |
             +--helma.Search.PhraseQuery

Instances of this class represent a phrase query.
Defined in Search.js

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

Constructor Summary
`helma.Search.PhraseQuery(<String> field, <String> str)` Constructs a new helma.Search.PhraseQuery instance that wraps a Lucene Phrase Query object.

Properties Summary
`org.apache.lucene.search.PhraseQuery` | `query` Contains the wrapped PhraseQuery instance

Methods Summary
`void` | `addTerm(field, str)` add a term to the end of the phrase query

Methods inherited from prototype helma.Search.Query
`getQuery, getBoost, setBoost`

Constructor Detail

### helma.Search.PhraseQuery

    helma.Search.PhraseQuery(<String> field, <String> str)

Constructs a new helma.Search.PhraseQuery instance that wraps a Lucene Phrase Query object.

Parameters:

`field` - The name of the field

`str` - The phrase query string

Returns:

A newly created PhraseQuery instance

Properties Detail

### query

    org.apache.lucene.search.PhraseQuery query

Contains the wrapped PhraseQuery instance

Method Detail

### addTerm

    void addTerm(field, str)

add a term to the end of the phrase query

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

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