Yeah this was a change in 2.9... but you can get the scores back, if
you do this:
TopFieldCollector tfc = TopFieldCollector.create(sort, numHits,
fillFields,
true /*
trackDocScores */,
il.com]
> Sent: Thursday, October 15, 2009 6:42 PM
> To: java-user@lucene.apache.org
> Subject: How to sort and get document scores afterwards
>
> Hi,
>
> our application enables sorting the result lists according to field
> values,
> currently all represented as Strings (w
Hi,
our application enables sorting the result lists according to field values,
currently all represented as Strings (we plan to also migrate to the new
numeric type capabilities of Lucene 2.9 at a later time)
For this, the documents will be sorted e.g. according to the author, which
works fine w