<?xml version="1.0" encoding="UTF-8"?>
<ObjectDefinition xmlns:xi="http://www.w3.org/2001/XInclude" type="book">
	<Document type="default">
		<xi:include href="../../../components/ILIAS/ILIASObject/LuceneDataSource.xml" />
		<xi:include href="../../../components/ILIAS/Tagging/LuceneDataSource.xml" />
		<DataSource type="JDBC" action="append">
			<Query>
				SELECT title FROM booking_object
				WHERE pool_id IN (?)
			</Query>
			<Param format="list" type="int" value="objId" />
			<Field store="YES" index="ANALYZED" column="title" type="text" name="propertyHigh" />
		</DataSource>		
		<DataSource type="JDBC" action="append">
			<Query>
				SELECT 1 as offline FROM booking_settings
				WHERE pool_offline = 1
				AND booking_pool_id IN(?)
			</Query>
			<Param format="list" type="int" value="objId" />
			<Field store="YES" index="NOT_ANALYZED" column="offline" type="text" name="offline" />
		</DataSource>		
	</Document>
</ObjectDefinition>
