IndexStrategy Interface Reference

Detailed Description

IndexStrategy defines the interface for indexing implementations.

Definition at line 18 of file IndexStrategy.php.

+ Inheritance diagram for IndexStrategy:

Public Member Functions

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

Member Function Documentation

getDocument ( PersistentObject  $obj)

Get the lucene document for a PersistentObject.

Returns
Document

Implemented in DefaultIndexStrategy.

encodeValue (   $value,
  $inputType 
)

Encode the given value according to the input type.

Parameters
$value
$inputType
Returns
String

Implemented in DefaultIndexStrategy.