OpenXML document.

category Zend
package Zend_Search_Lucene
subpackage Document
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Search_Lucene_Document

 Methods

Proxy method for getFieldValue(), provides more convenient access to the string value of a field.

__get(string $offset) : string
Inherited

Parameters

$offset

string

Returns

string

Add a field object to this document.

addField(\Zend_Search_Lucene_Field $field) : \Zend_Search_Lucene_Document
Inherited

Parameters

$field

\Zend_Search_Lucene_Field

Returns

\Zend_Search_Lucene_Document

Returns Zend_Search_Lucene_Field object for a named field in this document.

getField(string $fieldName) : \Zend_Search_Lucene_Field
Inherited

Parameters

$fieldName

string

Returns

\Zend_Search_Lucene_Field

Return an array with the names of the fields in this document.

getFieldNames() : array
Inherited

Returns

array

Returns the string value of a named field in UTF-8 encoding.

getFieldUtf8Value($fieldName) : string
Inherited
see

Parameters

$fieldName

Returns

string

Returns the string value of a named field in this document.

getFieldValue($fieldName) : string
Inherited
see

Parameters

$fieldName

Returns

string

Determine absolute zip path

absoluteZipPath(string $path) : string

Parameters

$path

string

Returns

string

 Properties

 

Field boost factor It's not stored directly in the index, but affects on normalization factor

$boost : float

Default

1.0
 

Associative array Zend_Search_Lucene_Field objects where the keys to the array are the names of the fields.

$_fields : array

Default

array()

 Constants

 

Xml Schema - Core properties

SCHEMA_COREPROPERTIES = 'http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties' : string
 

Xml Schema - Dublin Core

SCHEMA_DUBLINCORE = 'http://purl.org/dc/elements/1.1/' : string
 

Xml Schema - Dublin Core Terms

SCHEMA_DUBLINCORETERMS = 'http://purl.org/dc/terms/' : string
 

Xml Schema - Office document

SCHEMA_OFFICEDOCUMENT = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument' : string
 

Xml Schema - Relationships

SCHEMA_RELATIONSHIP = 'http://schemas.openxmlformats.org/package/2006/relationships' : string