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

<name>wordforms vs case folding</name>

<config>
indexer
{
	mem_limit		= 16M
}

searchd
{
	<searchd_settings/>
}

source srctest
{
	type			= mysql
	<sql_settings/>

	sql_query		= SELECT * FROM test_table
}

index test
{
	source			= srctest
	path			= <data_path/>/test
    charset_type 	= utf-8
	wordforms		= wordforms.txt
}
</config>

<queries>
<query>FOLDED</query>
<query>folded</query>
<query>shortform</query>
<query>sOMEwHATmORElONGfORMtHATwOULDoVERFLOWsHORTfORMbUFFER</query>
</queries>

<db_create>
CREATE TABLE `test_table`
(
	`document_id` int(11) NOT NULL default '0',
	`body` varchar(255) NOT NULL default ''
)
</db_create>

<db_drop>
DROP TABLE IF EXISTS `test_table`
</db_drop>

<db_insert>
INSERT INTO `test_table` VALUES
( 1, 'test FoLdEd' ),
( 2, 'folded' ),
( 3, 'shortform' ),
( 4, 'SomeWhatMoreLongFormThatWouldOverflowShortFormBuffer' )
</db_insert>

</test>