API Documentation

Search/Lucene/Index/SegmentWriter/DocumentWriter.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Index
version
$Id: DocumentWriter.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Search_Lucene_Index_SegmentWriter_DocumentWriter

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Search_Lucene_Index_SegmentWriter_DocumentWriter

Extends from
Zend_Search_Lucene_Index_SegmentWriter
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Search_Lucene
subpackage
Index
Properties
$_termDictionary
$_termDocs
Methods
__construct
addDocument
_dumpDictionary
close

Description

Properties

$_termDictionary

array $_termDictionary = ''

Term Dictionary Array of the Zend_Search_Lucene_Index_Term objects Corresponding Zend_Search_Lucene_Index_TermInfo object stored in the $_termDictionaryInfos

Details

$_termDictionary
array
visibility
protected
default
final
false
static
false

$_termDocs

array $_termDocs = ''

Documents, which contain the term

Details

$_termDocs
array
visibility
protected
default
final
false
static
false

Methods

__construct

__construct( Zend_Search_Lucene_Storage_Directory $directory, string $name ) :

Object constructor.

Arguments
$directory
Zend_Search_Lucene_Storage_Directory
$name
string
Details
visibility
public
final
false
static
false

_dumpDictionary

_dumpDictionary( ) :

Dump Term Dictionary (.tis) and Term Dictionary Index (.tii) segment files

Details
visibility
protected
final
false
static
false

addDocument

addDocument( Zend_Search_Lucene_Document $document ) :

Adds a document to this segment.

Arguments
$document
Zend_Search_Lucene_Document
Details
visibility
public
final
false
static
false
throws

close

close( ) : Zend_Search_Lucene_Index_SegmentInfo

Close segment, write it to disk and return segment info

Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.