: Besides the typo :), the only problem for what I want is the fact that it
: returns null for a default score sort instead of setting
: SortField.FIELD_SCORE.  I want a default score desc sort, but I want the
: scores from the lucene Hits object.  Is the only way to get score values to
: modify the solr code?
i'm a little confused ... Solr doesn't use "Hits" at all ... if you ask 
for scores, you get raw unormalized scores (normalizing is easy enough to 
do after the fact)  if you want the scores returned, all you have to do is 
ask for them in the fl param; if you want to sort by score, all you have 
to do is ask for it in the sort param (it doesn't matter that parseSort 
returns null when the sort string is just "score" ... SolrIndexSearcher 
recognizes a null Sort as being the default sort by score)




-Hoss

Reply via email to