Sebastien, look at the Wiki for info about Function queries. It sounds like that's what you are after. Yes, sorting essentially ignores score (yes, you can use both, but not combine them in the way you seem to need to combine them).
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Sébastien Rainville <[EMAIL PROTECTED]> > To: solr-user <solr-user@lucene.apache.org> > Sent: Tuesday, September 9, 2008 2:04:30 PM > Subject: scoring + sorting > > Hi, a basic thing I don't get is how does sorting interacts with the default > scoring? Sorting doesn't seem to do what I want. Both default scoring and > sorting define the scoring of the documents so how can they work together? > Does the sorting overrides things in the default scoring? > > Basically, what I'm trying to do is to have the value of a field influencing > the scoring. It's a dynamic field but its type is defined like this: > > > sortMissingLast="true" omitNorms="true"/> > > In other words... am I supposed to only sort on that field or should I hack > into solr/lucene in order to change the scoring so it takes into > consideration my field? And if the answer is the later... well I don't > really how to start... so any guidelines would be appreciated. > > Thx, > Sebastien