The best place to go for help with Solr is the official Solr wiki:
http://lucene.apache.org/solr/features.html
You may also want to consider these excellent books:
Below is a quick guide to some of the most used Solr parameters:
| Parameter | Example | Description |
|---|---|---|
| q | q=Canon printer | Your text search query |
| fq | fq=product:Camera | The query used to narrow down your results, in this case results where the "product" field equals the value "Camera" |
| start | start=50 | Where in the result set the response should start |
| rows | rows=20 | The number of results returned |
| qt | qt=dismax | The Solr request handler to be used |
| wt | wt=json | The data type returned by Solr. Options are: xml, phps, json, python, ruby |
| facet | facet=true | Turn on faceting |
| facet.mincount | facet.mincount=1 | The minimum number of occurances of a facet value before it is returned in the results |
| facet.query | facet.query=price:[0 TO 100] | An arbitrary facet query, in this case filter on a numeric range on a field called "price" |
| hl | hl=true | Turn on or off text highlighting |
| hl.fl | hl.fl=title,longdesc | The list of fields the text highlighting should be applied to |
| spellcheck | spellcheck | Turn on spell-checking |