Daniel Gerber
Daniel Gerber

Reputation: 3470

Solr 4 Webinterface strange Query Output

I've installed Solr 4 on my server. The basic querying is working just fine. Just the resultset get's rendered unreadable as seen in picture Rendering of results in Solr4.

If you compare it to the screenshots from the solr4 website: enter image description here.

I tried Safari and Chrome and both show this unreadable output. Any help?

Upvotes: 0

Views: 330

Answers (2)

Alexandre Rafalovitch
Alexandre Rafalovitch

Reputation: 9789

I believe this is XML output in Solr 4.0. Try switching to Ruby or other output format in the drop-downs.

It is fixed in Solr 4.1.

Upvotes: 0

phisch
phisch

Reputation: 4731

Your browser tries do display the XML and strips all the tags. Unfortunately, this is common with Chrome, Safari and IE.

I use Firefox for accessing solrs webinterface and get the syntax highlighted view of xml-data.

If you can not use Firefox, a workaround is to open the actual url (the part you covered in red) and than use your browser's 'View Source' functionality. It will show you the plain text xml sent by Solr.

Upvotes: 2

Related Questions