lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sangraal aiken" <sangr...@gmail.com>
Subject Default XML Output Schema
Date Thu, 21 Sep 2006 14:49:47 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message