It's just that score is not calculated anymore if you are sorting the
results on any field, but only if you are not sorting on anything.
But that can be fixed quite easily by calculating the score yourself:
I wrote a blog post that explains how:
http://codeclimber.net.nz/archive/2010/02/26/lucene.net-is-powering-subtext-2.5-search.aspx
scroll to the "Performing queries" section of the post
Simo

On Wed, Mar 10, 2010 at 3:50 AM, Floyd Wu <[email protected]> wrote:

> Hi Michael,
>
> Thanks for you information, but I'm not fully understand what you said.
> Could you please explain this much more simpler. Sorry that English is not
> my native language.
>
> Thanks in advanced
>
> Floyd
>
> 2010/3/10 Michael Garski <[email protected]>
>
> > Floyd -
> >
> > There is a change in 2.9 where the score for a document is calculated
> > only if there is not a sort on a field.
> >
> > Michael
> >
> > -----Original Message-----
> > From: Floyd Wu [mailto:[email protected]]
> > Sent: Monday, March 08, 2010 10:11 PM
> > To: [email protected]
> > Subject: Re: What is the current production version?
> >
> >  I am current upgrade to 2.9.1 and also found that 2.9.1 perform better
> > when
> > sorting result than 2.3 and 2.4.
> >
> > But I didn't find any change log about this performance enhancement.
> > (Can someone tell me about this issue?)
> >
> > Floyd
> >
> >
> >
> > 2010/3/9 Artem Chereisky <[email protected]>
> >
> > > Hans,
> > >
> > > We use 2.9 in production and we find it stable. 2.9 is indeed quite
> > recent
> > > so if in doubt, grab 2.4 tag.
> > >
> > > Art
> > >
> > >
> > > On 09/03/2010, at 14:26, "Hans Merkl" <[email protected]> wrote:
> > >
> > > I am a little confused about the current version of Lucene.Net that
> > can
> > >> used for production. In SVN I can see a tag for version 2.9.1  but
> > the
> > >> "stable" version on http://lucene.apache.org/lucene.net/ links to
> > version
> > >> 2.0.0 from 2 years ago.
> > >>
> > >> Does anybody know what the current version is?
> > >>
> > >> Thanks
> > >>
> > >> Hans
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> >
> >
>



-- 
Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"

Reply via email to