Zend_Search_Lucene_Search_Query_Phrase::__construct
Class constructor. Create a new prase query.
Signature
public function __construct([array
$terms = NULL,
[array
$offsets = NULL,
[string
$field = NULL]]] )
Parameters
$terms
— array- Terms to search Array of strings.
$offsets
— array- Relative term positions. Array of integers.
$field
— string- Field to search.