<?xml version="1.0" encoding="UTF-8"?>
<ObjectDefinition xmlns:xi="http://www.w3.org/2001/XInclude" type="webr">
	<Document type="default">
		<xi:include href="../../../components/ILIAS/ILIASObject/LuceneDataSource.xml" />
		<xi:include href="../../../components/ILIAS/Tagging/LuceneDataSource.xml" />
		<xi:include href="../../../components/ILIAS/MetaData/LuceneDataSource.xml" />
	</Document>
	<Document type="subItem">
		<DataSource type="JDBC" action="create">
			<Query>
				SELECT 'webr' type,webr_id,link_id,title,description,'link' subType FROM webr_items
				WHERE webr_id IN (?)
			</Query>
			<Param format="list" type="int" value="objId" />
			<Field global="YES" store="YES" index="ANALYZED" column="title" type="text" name="propertyHigh" />
			<Field global="YES" store="YES" index="ANALYZED" column="description" type="text" name="propertyMedium" />
			<Field global="YES" store="YES" index="NOT_ANALYZED" column="link_id" type="integer" name="subItem" />
            <Field global="YES" store="YES" index="NOT_ANALYZED" column="subType" type="text" name="subType" />
			<Field global="NO" store="YES" index="NOT_ANALYZED" column="webr_id" type="integer" name="objId"  />
			<Field global="NO" store="YES" index="NOT_ANALYZED" column="type" type="text" name="type"  />
		</DataSource>
	</Document>
</ObjectDefinition>
