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

<test>
<name>xmlpipe2 string and wordcount attributes, defined in schema or in config</name>

<config>
indexer
{
	mem_limit = 16M
}

searchd
{
	<searchd_settings/>
}

source src
{
	type = xmlpipe2
	xmlpipe_command = cat <this_test/>/data.xml
	xmlpipe_field = title
	xmlpipe_field = content
	xmlpipe_attr_uint = gid
	xmlpipe_attr_string = sgid
	xmlpipe_field_string = sgidf
}

source src2
{
	type = xmlpipe2
	xmlpipe_command = cat <this_test/>/data2.xml
}

index idx
{
	source = src
	path = <data_path/>/idx
}

index idx2
{
	source = src2
	path = <data_path/>/idx2
}

</config>

<queries>
<query index="idx">test</query>
<query index="idx">ord2</query>
<query index="idx">orddf</query>
<query index="idx">test2</query>
<query index="idx2">test</query>
<query index="idx2">ord2</query>
<query index="idx2">orddf</query>
<query index="idx2">test2</query>
</queries>

</test>
