You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Tri Nguyen <tr...@yahoo.com> on 2010/11/23 02:34:37 UTC

sorl response xsd

Hi,
 
I'm trying to look for the solr response xsd.
 
Is this it here?
 
https://issues.apache.org/jira/browse/SOLR-17
 
I'd basically want to know if the data import passed or failed.  I can get the xml string and search for "completed", but would wondering if I can use and xsd to parse the response.
 
Or is there another way?
 
Here's the response I have and I don't see in the xsd the lst element for statusMessages.
 
xml version="1.0" encoding="UTF-8" ?> 

- <response>


+ <lst name="responseHeader">


  <int name="status">0</int> 

  <int name="QTime">15</int> 
  </lst>

+ <lst name="initArgs">


- <lst name="defaults">


  <str name="config">data-config.xml</str> 
  </lst>
  </lst>

  <str name="command">full-import</str> 

  <str name="status">idle</str> 

  <str name="importResponse" /> 

- <lst name="statusMessages">


  <str name="Total Requests made to DataSource">0</str> 

  <str name="Total Rows Fetched">0</str> 

  <str name="Total Documents Skipped">0</str> 

  <str name="Full Dump Started">2010-11-22 17:20:42</str> 

  <str name="">Indexing completed. Added/Updated: 0 documents. Deleted 0 documents.</str> 

  <str name="Committed">2010-11-22 17:20:43</str> 

  <str name="Optimized">2010-11-22 17:20:43</str> 

  <str name="Total Documents Processed">0</str> 

  <str name="Time taken">0:0:0.375</str> 
  </lst>

  <str name="WARNING">This response format is experimental. It is likely to change in the future.</str> 
  </response>
 
Thanks,
 
Tri