On 1/22/2013 2:07 AM, roySolr wrote:
You want that format indended? How/where can i get that?
If you are using the query UI in Solr 4, just put a check in the box 
that says "indent" ... otherwise just add &indent=true to the query URL 
you send.
If you use the Solr 4 UI, the results will be inside the UI, but you'll 
get the actual query URL at the top.  If you open that URL in a new tab, 
you can then view the page source to see the XML in a format that's 
easier to copy/paste.  For 3.x Solr versions, that step should not be 
necessary - the query results don't show up within the Solr UI.
On Firefox for Windows, press Ctrl-U to view the page source.  Other 
browsers/platforms probably have different methods.
Once you have the XML to paste, using a website like pastie.org where 
you can set the format to XML is better than including it directly in 
your email.  You can include the entire response, and it will be nicely 
colorized.
Thanks,
Shawn

Reply via email to