(PECL solr >= 0.9.2)
SolrUtils::digestXmlResponse — Parses an response XML string into a SolrObject
This method parses an response XML string from the Apache Solr server into a SolrObject. It throws a SolrException if there was an error.
xmlresponse
The XML response string from the Solr server.
parse_mode
Use SolrResponse::PARSE_SOLR_OBJ or SolrResponse::PARSE_SOLR_DOC
Returns the SolrObject representing the XML response.
If the parse_mode parameter is set to SolrResponse::PARSE_SOLR_OBJ Solr documents will be parses as SolrObject instances.
If it is set to SolrResponse::PARSE_SOLR_DOC, they will be parsed as SolrDocument instances.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant