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

<name>match modes</name>

<config>
indexer
{
	mem_limit = 128M
}

searchd
{
	<searchd_settings/>
}

source lj
{
	type = mysql
	<sql_settings sql_db="lj" />

	sql_query = select id, \
		title, uncompress(content) content, \
		unix_timestamp(published) published, channel_id \
		from posting \
		where id &lt;= 1000000;

	sql_attr_uint = channel_id
	sql_attr_timestamp = published
}

index lj
{
	source	= lj
	path	= <local>data</local>/lj
}
</config>

<queries>
	<query index="lj" source="bench/ljq1k.txt" mode="all" tag="match_all" />
	<query index="lj" source="bench/ljq1k.txt" mode="any" tag="match_any" />
	<query index="lj" source="bench/ljq1k.txt" mode="extended2" tag="extended2" />
</queries>

</test>
