## Zend_Search_Lucene_Index_SegmentWriter_StreamWriter

Description

- license: New BSD License
- copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/Search/Lucene/Index/SegmentWriter/StreamWriter.php (line 40)

    Zend_Search_Lucene_Index_SegmentWriter
       |
       --Zend_Search_Lucene_Index_SegmentWriter_StreamWriter

Method Summary
Zend_Search_Lucene_Index_SegmentWriter_StreamWriter __construct (Zend_Search_Lucene_Storage_Directory $directory, string $name)
void addNorm ( $fieldName, $normVector)
Zend_Search_Lucene_Index_SegmentInfo close ()
void createStoredFieldsFiles ()
Variables

#### Inherited Variables

Inherited from Zend_Search_Lucene_Index_SegmentWriter

> Zend_Search_Lucene_Index_SegmentWriter::$indexInterval
> Zend_Search_Lucene_Index_SegmentWriter::$skipInterval
> Zend_Search_Lucene_Index_SegmentWriter::$_directory
> Zend_Search_Lucene_Index_SegmentWriter::$_docCount
> Zend_Search_Lucene_Index_SegmentWriter::$_fdtFile
> Zend_Search_Lucene_Index_SegmentWriter::$_fdxFile
> Zend_Search_Lucene_Index_SegmentWriter::$_fields
> Zend_Search_Lucene_Index_SegmentWriter::$_files
> Zend_Search_Lucene_Index_SegmentWriter::$_name
> Zend_Search_Lucene_Index_SegmentWriter::$_norms

Methods
Constructor __construct (line 48)

Object constructor.

- access: public

Zend_Search_Lucene_Index_SegmentWriter_StreamWriter __construct (Zend_Search_Lucene_Storage_Directory $directory, string $name)

- Zend_Search_Lucene_Storage_Directory $directory
- string $name

Redefinition of:

Zend_Search_Lucene_Index_SegmentWriter::__construct()
  Object constructor.

addNorm (line 66)

- access: public

void addNorm ( $fieldName, $normVector)

- $fieldName
- $normVector

close (line 80)

Close segment, write it to disk and return segment info

- access: public

Zend_Search_Lucene_Index_SegmentInfo close ()

Redefinition of:

Zend_Search_Lucene_Index_SegmentWriter::close()
  Close segment, write it to disk and return segment info

createStoredFieldsFiles (line 57)

Create stored fields files and open them for write

- access: public

void createStoredFieldsFiles ()

#### Inherited Methods

Inherited From Zend_Search_Lucene_Index_SegmentWriter

> Zend_Search_Lucene_Index_SegmentWriter::__construct()
> Zend_Search_Lucene_Index_SegmentWriter::addField()
> Zend_Search_Lucene_Index_SegmentWriter::addFieldInfo()
> Zend_Search_Lucene_Index_SegmentWriter::addStoredFields()
> Zend_Search_Lucene_Index_SegmentWriter::addTerm()
> Zend_Search_Lucene_Index_SegmentWriter::close()
> Zend_Search_Lucene_Index_SegmentWriter::closeDictionaryFiles()
> Zend_Search_Lucene_Index_SegmentWriter::count()
> Zend_Search_Lucene_Index_SegmentWriter::getFieldInfos()
> Zend_Search_Lucene_Index_SegmentWriter::initializeDictionaryFiles()
> Zend_Search_Lucene_Index_SegmentWriter::_dumpFNM()
> Zend_Search_Lucene_Index_SegmentWriter::_dumpTermDictEntry()
> Zend_Search_Lucene_Index_SegmentWriter::_generateCFS()

Documentation generated on Wed, 21 Feb 2007 12:00:30 -0800 by phpDocumentor 1.3.1