Perhaps a silly questions, but I'm wondering if anyone can tell me why solr
outputs XML like this:

<doc>
<int name="id">201038</id>
<int name="siteId">31</siteId>
<date name="modified">2006-09-15T21:36:39.000Z</date>
</doc>

rather than like this:

<doc>
<id type="int">201038</id>
<siteId type="int">31</siteId>
<modified type="date">2006-09-15T21:36:39.000Z</modified>
</doc>

A front-end PHP developer I know is having trouble parsing the default Solr
output because of that format and mentioned it would be much easier in the
former format... so I was curious if there was a reason it is the way it is.

-Sangraal

Reply via email to