<?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 LuceneQueryResponse (Serial?, Count?, (Results?|Error?))>
<!ELEMENT Serial (#PCDATA)>
<!ELEMENT Count (#PCDATA)>
<!ELEMENT Results (Result*)>
	<!ELEMENT Result (Field*)>
	<!ATTLIST Result
		counter CDATA #REQUIRED
		rank    CDATA #REQUIRED
	>
	<!ELEMENT Field (#PCDATA)>
	<!ATTLIST Field
		name CDATA #REQUIRED
	>
<!ELEMENT Error (#PCDATA)>
<!ATTLIST Error
	code CDATA #IMPLIED
>

<!ELEMENT LuceneIndexResponse (Serial?, (Status|Error))>
<!ELEMENT Status (#PCDATA)>
<!ATTLIST Status
	code CDATA #IMPLIED
>


<!ELEMENT LuceneErrorResponse (Serial?, Error)>


<!ELEMENT LuceneUnIndexResponse (Serial?, (Status|Error))>


<!ELEMENT LuceneUtilityResponse (Serial?, (Status|Error), Extra?)>
<!ELEMENT Extra ANY>



