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.
16 * @package Zend_Search_Lucene
18 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
19 * @license http://framework.zend.com/license/new-bsd New BSD License
20 * @version $Id: TermInfo.php 16541 2009-07-07 06:59:03Z bkarwin $
25 * A Zend_Search_Lucene_Index_TermInfo represents a record of information stored for a term.
28 * @package Zend_Search_Lucene
30 * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
31 * @license http://framework.zend.com/license/new-bsd New BSD License
33 class Zend_Search_Lucene_Index_TermInfo
36 * The number of documents which contain the term.
43 * Data offset in a Frequencies file.
50 * Data offset in a Positions file.
57 * ScipData offset in a Frequencies file.
64 * Term offset of the _next_ term in a TermDictionary file.
65 * Used only for Term Index
71 public function __construct($docFreq, $freqPointer, $proxPointer, $skipOffset, $indexPointer = null)
73 $this->docFreq = $docFreq;
74 $this->freqPointer = $freqPointer;
75 $this->proxPointer = $proxPointer;
76 $this->skipOffset = $skipOffset;
77 $this->indexPointer = $indexPointer;