Detailed Description

DefaultIndexStrategy implements indexing of all PersistentObject values and might be customized by overriding the enhanceDocument method.

Definition at line 21 of file DefaultIndexStrategy.php.

+ Inheritance diagram for DefaultIndexStrategy:

Public Member Functions

 getDocument (PersistentObject $obj)
 encodeValue ($value, $inputType)

Protected Member Functions

 enhanceDocument (Document $doc, PersistentObject $obj)

Member Function Documentation

◆ getDocument()

getDocument ( PersistentObject  $obj)
See also

Implements IndexStrategy.

Definition at line 26 of file DefaultIndexStrategy.php.

◆ encodeValue()

encodeValue (   $value,
See also

Implements IndexStrategy.

Definition at line 67 of file DefaultIndexStrategy.php.

◆ enhanceDocument()

enhanceDocument ( Document  $doc,
PersistentObject  $obj 

Customize the lucene document according the the application requirements.

$docThe lucene document
$objThe object to index

Definition at line 79 of file DefaultIndexStrategy.php.