tags:

views:

901

answers:

2

I am running a Solr instance on Jetty and when I search using the Solr admin panel, it returns the entire document. What should I do to get only specified fields from each Solr document returned by the search?

+6  A: 
/?q=query&fl=field1,field2,field3
Andrew Ingram
+1  A: 

From the Solr Admin home page, click on "Full Interface". On that page there is a box called "Fields to Return". You can list the you want here (comma-separated). "*" means all fields.

KenE