Solr has its own generic XML representation of typed and named data structures. This XML is used for most of the response XML, and it is also used in parts of solconfig.xml
. The XML elements involved in this partial XML schema are as follows:
<lst>
: This is a named list. Each of its child nodes should have aname
attribute. The<doc>
element is in effect equivalent tolst
but is used only for result documents.<arr>
: This is an array of values. Each of its child nodes is a member of this array.
The following elements represent simple values with the text of the element storing the value. The numeric ranges match that of the Java language. They will have a name
attribute if they are underneath lst
(or doc
), but not otherwise.
<str>
: A string of text<int>
: An integer in the range -2^31 to 2^31-1<long>
: An integer in the range -2^63 to 2^63-1<float>
: A floating point number in the range 1.4e–45 to...