<?xml version="1.0"?>
<document>
<field type="id">id</field>
<field type="text" boost="2">title</field>
<field type="text">summary</field>
<field inResult="false" type="html">body</field>
<field type="date">published</field>
<field type="string" multi="true">author</field>
</document>
Setting up the backend:
<?php
$backend = new ezcSearchSolrHandler;
$backend = new ezcSearchZendLuceneHandler( '/tmp/location' );
?>
Setting up the manager:
<?php
$session = new ezcSearchSession(
$backend,
new ezcSearchXmlManager( $testFilesDir )
);
?>