Search: ezcSearchFindQuery
[ ]
[ Solr schema ]
[ ]
[ ]
[ ]
[ ]
Interface: ezcSearchFindQuery
|
Class to create select search backend indepentent search queries. [
source]
Parents
ezcSearchQuery
|
--ezcSearchFindQuery
Method Summary
Inherited Methods
From
ezcSearchQuery :
Methods
select
Opens the query and selects which fields you want to return with the query.
select() accepts an arbitrary number of parameters. Each parameter must contain either the name of a field or an array containing the names of the fields. Each call to select() appends fields to the list of fields that will be used in the query.
Example:
1. $q->select( 'field1', 'field2' );
The same could also be written:
1. $fields[] = 'field1';
2. $fields[] = 'field2;
3. $q->select( $fields );
or using several calls
1. $q->select( 'field1' )->select( 'field2' );
Parameters
| Name |
Type |
Description |
$... |
string|array(string) |
Either a string with a field name or an array of field names. |
Last updated: Wed, 18 Jun 2008