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

<name>min_word_len vs queries (part 3)</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
	exceptions		= synonyms.txt

    <Dynamic>
      <Variant>	min_word_len = 3 </Variant>
      <Variant>	min_word_len = 4 </Variant>
      <Variant>	min_word_len = 5 </Variant>
    </Dynamic>

    <Dynamic>
      <Variant>	min_prefix_len = 3 </Variant>
      <Variant>	min_prefix_len = 4 </Variant>
      <Variant>	min_prefix_len = 5 </Variant>
    </Dynamic>
}

index quo
{
	source			= srctest
	path			= <data_path/>/quo
    charset_type 	= utf-8
	exceptions		= <this_test/>/s25.txt
}
</config>

<queries>
<query index="test">a</query>
<query index="test">bb</query>
<query index="test">ccc</query>
<query index="test">dddd</query>
<query index="test">eeeee</query>
<query index="test">ffffff</query>
<query index="test">ggggggg</query>
<query index="test">b*</query>
<query index="test">cc*</query>
<query index="test">ddd*</query>
<query index="test">eeee*</query>
<query index="test">fffff*</query>
<query index="test">gggggg*</query>
<query mode="extended2" index="test">a</query>
<query mode="extended2" index="test">bb</query>
<query mode="extended2" index="test">ccc</query>
<query mode="extended2" index="test">dddd</query>
<query mode="extended2" index="test">eeeee</query>
<query mode="extended2" index="test">ffffff</query>
<query mode="extended2" index="test">ggggggg</query>
<query mode="extended2" index="test">b*</query>
<query mode="extended2" index="test">cc*</query>
<query mode="extended2" index="test">ddd*</query>
<query mode="extended2" index="test">eeee*</query>
<query mode="extended2" index="test">fffff*</query>
<query mode="extended2" index="test">gggggg*</query>
<query mode="phrase" index="test">hello me world</query>
<query mode="phrase" index="test">hello two world</query>
<query mode="phrase" index="test">hello four world</query>
<query mode="phrase" index="test">hello me* world</query>
<query mode="phrase" index="test">hello two* world</query>
<query mode="phrase" index="test">hello four* world</query>
<query mode="phrase" index="test">4 you</query>
<query mode="extended2" index="quo"> "hello two world"/1 </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,  'a' ),
( 2,  'bb' ),
( 3,  'ccc' ),
( 4,  'dddd' ),
( 5,  'eeeee' ),
( 6,  'ffffff' ),
( 7,  'ggggggg' ),
( 8,  'hello world' ),
( 9,  'hello a world' ),
( 10, 'hello aa world' ),
( 11, 'hello aaa world' ),
( 12, 'hello aaaa world' ),
( 13, 'hello aaaaa world' ),
( 14, 'hello me world' ),
( 15, 'hello two world' ),
( 16, 'hello four world' ),
( 17, '4you' )
</db_insert>

</test>