what kind of new sorting ways you want? If you want to change Lucene's score of how relevant the result is, you may play with the boosting. If you just want to sort on fields, you can use "sort=fieldname" to sort on string, integer, date fields.
Yunfei On Sat, Jan 21, 2012 at 8:39 AM, Bing Li <lbl...@gmail.com> wrote: > Dear all, > > I have a question when sorting retrieved data from Solr. As I know, Lucene > retrieves data according to the degree of keyword matching on text field > (partial matching). > > If I search data by string field (complete matching), how does Lucene sort > the retrieved data? > > If I want to add new sorting ways, how to do that? Now I have to load all > of matched data from Solr and rank them again in my ways before showing to > users. It is correct? > > Thanks so much! > Bing >