I have indexed a couple of documents using solr, now when I perform a search using the admin interface, it returns search results in the XML format.
I am trying to figur
You will need to add the filename as a stored field. Look at your schema.xml
and make sure you declare a field of type string
and set the stored
attribute to true
. By setting stored=true
you will ensure that Solr can return the field back in results.
See this page for more information: http://wiki.apache.org/solr/SchemaXml