Parsing Lucene/SOLR debug.explain.structured xml output in PHP

snsdhacker

New Member
The default "human readable" formatting of solr's debug-mode explain feature is completely useless. You can get some structured xml output by passing debug.explain.structured=true.However the xml it generates isn't really usable either and I need to be able to use this debugging information elsewhere in my code.Before I re-invent the wheel, I have two questions:1) Does anyone know of an existing PHP class (or function) that will parse this xml and turn it into a useful object? (googling didn't turn up anything obvious)2) For those familiar with SOLR's debug mode, is there a better way to approach this than parsing the debug.explain.structured xml? (I'm Using SOLR 3.6)
 
Back
Top