|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_Search_Lucene |
|
17 * @subpackage Index |
|
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
20 * @version $Id: FieldInfo.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
21 */ |
|
22 |
|
23 |
|
24 /** |
|
25 * @category Zend |
|
26 * @package Zend_Search_Lucene |
|
27 * @subpackage Index |
|
28 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
29 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
30 */ |
|
31 class Zend_Search_Lucene_Index_FieldInfo |
|
32 { |
|
33 public $name; |
|
34 public $isIndexed; |
|
35 public $number; |
|
36 public $storeTermVector; |
|
37 public $normsOmitted; |
|
38 public $payloadsStored; |
|
39 |
|
40 public function __construct($name, $isIndexed, $number, $storeTermVector, $normsOmitted = false, $payloadsStored = false) |
|
41 { |
|
42 $this->name = $name; |
|
43 $this->isIndexed = $isIndexed; |
|
44 $this->number = $number; |
|
45 $this->storeTermVector = $storeTermVector; |
|
46 $this->normsOmitted = $normsOmitted; |
|
47 $this->payloadsStored = $payloadsStored; |
|
48 } |
|
49 } |
|
50 |