Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am relatively new to Solr, and have managed to index PDF documents.

But when I query solr I get responses including the the document contents. Is there a way to control what will be in the response?

How do i do that, if possible?

Any help appreciated :)

share|improve this question

closed as off-topic by growse, mdpc, Sven Dec 11 '14 at 8:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – growse, mdpc, Sven
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

You can select the fields within your response through the fl parameter. You can have a look at the Solr wiki.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.