<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by Authorized User (Authorized Company) -->
<!--DTD generated by XMLSPY v5 rel. 3 U (http://www.xmlspy.com)-->
<!ELEMENT LuceneQueryRequest (Application, Domain?, Serial?, Query, Sort?, Offset?, Limit?, Domain?, Range*, Return?, Field-Definitions?)>
<!ELEMENT Application (#PCDATA)>
<!ELEMENT Domain (#PCDATA)>
<!ELEMENT Limit (#PCDATA)>
<!ELEMENT Offset (#PCDATA)>
<!ELEMENT Query (#PCDATA)>
	<!ATTLIST Query
		default-field CDATA #IMPLIED
	>
<!ELEMENT Range (From?, To?)>
	<!ATTLIST Range
		field CDATA #REQUIRED
	>
	<!ELEMENT From (#PCDATA)>
	<!ELEMENT To (#PCDATA)>


<!ELEMENT Return (#PCDATA)>
<!ELEMENT Serial (#PCDATA)>
<!ELEMENT Sort (#PCDATA)>
<!ATTLIST Sort
	limit CDATA #IMPLIED
>

<!ELEMENT Field-Definitions (Field-Definition*)>
	<!ELEMENT Field-Definition EMPTY>
	<!ATTLIST Field-Definition
		name CDATA #REQUIRED
		type  CDATA #IMPLIED
		indexed CDATA #IMPLIED
		stored CDATA #IMPLIED
	>


<!ELEMENT LuceneIndexRequest (Application, Domain?, Serial?, Id, Fields, Field-Definitions?)>
<!ELEMENT Id (#PCDATA)>
<!ELEMENT Fields (Field*)>
<!ELEMENT Field (#PCDATA)>
<!ATTLIST Field 
	name CDATA #REQUIRED
>
<!ELEMENT Stop-List (#PCDATA)>


<!ELEMENT LuceneUnIndexRequest (Application, Domain?, Serial?, (Id|Purge))>
<!ELEMENT Purge (#PCDATA)>


<!ELEMENT LuceneUtilityRequest (Application, Domain?, Serial?, Utility, Extra)>
<!ELEMENT Utility (#PCDATA)>
<!ELEMENT Extra ANY>



