<?xml version="1.0" encoding="utf-8"?>

<test>
<name>snippets vs load_files</name>

<config>
searchd
{
	<searchd_settings/>
}

source test
{
	type = mysql
	<sql_settings/>
	sql_query = SELECT 1, 'text';
}

index test
{
	source			= test
	path			= <data_path/>/test

	charset_type	= utf-8
}
</config>

<db_insert>select 1;</db_insert>

<custom_test><![CDATA[

$results = array();

$docs = array( 'test_130/load_file.txt' );
$opts = array( 'load_files'=>true, 'limit'=>0 );

$results[] = $client->BuildExcerpts($docs, 'test', 'end point', $opts );
$results[] = $client->BuildExcerpts($docs, 'test', 'not_found', $opts );

]]></custom_test>

</test>
