Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by HossMan:
http://wiki.apache.org/solr/CommonQueryParameters

------------------------------------------------------------------------------
  ||price desc||sort in descending order of the "price" field||
  ||inStock desc, price asc||sort by "inStock" descending, then "price" 
ascending||
  
- Sorting can be done on any field that is indexed and non-tokenized, or on the 
document "score".
+ Sorting can be done on the "score" of the document, or on any 
{{{multiValued="false" indexed="true"}}} field provided that field is either 
non-tokenized (ie: has no Analyzer) or uses an Analyzer that only produces a 
single Term (ie: uses the !KeywordTokenizer)
+ 
+ The common situation for sorting on a field that you do want to be tokenized 
for searching is to use a {{{<copyField>}}} to clone your field.  Sort on one, 
search on the other.
  
  [[Anchor(start)]]
  == start ==

Reply via email to