Re: How to sort and get document scores afterwards

2009-10-15 Thread Michael McCandless
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 */,

RE: How to sort and get document scores afterwards

2009-10-15 Thread Uwe Schindler
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

How to sort and get document scores afterwards

2009-10-15 Thread Christian Reuschling
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