Boost the other three fields at search time. Boosting during index time expresses "this document's title is worth more than other doucments' titles". Boosting during search time expresses "I care about matches on this clause more than I do on other clauses".
Will it help? How should I know? It's *your* application and *you* are the one who is dissatisfied with the current scoring <G>. All I can say is try it and find out. You might consider using Luke to try various boosts without having to mess with too much code. Erick On 7/31/07, Askar Zaidi <[EMAIL PROTECTED]> wrote: > > Boosting during Indexing or boosting during search ? > > I have 4 fields: > > {tags},{title},{summary},{contents} > > Typically a phrase occurs too many times in contents as compared to the > other fields. If I get the score of contents field , I can pass it through > an adjuster function which will bring the score down. Something like: > > public static double adjuster(double count){ > > double newCount; > newCount = 1/Math.exp(count); > System.out.println(newCount); > return newCount; > > } > > Do you mean I could boost the values of the other 3 fields ? Will that > help > ? Would there be a way to bring down the score of the contents field ? > > thanks, > AZ > > > On 7/31/07, Erick Erickson <[EMAIL PROTECTED]> wrote: > > > > Wouldn't boosting handle this for you? > > > > On 7/31/07, Askar Zaidi <[EMAIL PROTECTED]> wrote: > > > > > > To be more specific: > > > > > > I want to retrieve the scores of individual fields inside a document > so > > > that > > > I can manipulate the score of one field. This is the requirement of my > > > application. After the manipulation I can add these scores and then > show > > > the > > > total. > > > > > > thanks, > > > > > > AZ > > > > > > On 7/31/07, Askar Zaidi <[EMAIL PROTECTED]> wrote: > > > > > > > > Hey guys, > > > > > > > > I was wondering if there is a way to retrieve score of a field in a > > > > document ? > > > > > > > > If my document looks like this: > > > > > > > > {itemID},{field 1},{field 2} > > > > > > > > I'd like to get score of individual fields 1 and 2 rather than the > > score > > > > of the entire document. > > > > > > > > Is it possible ? > > > > > > > > thanks, > > > > AZ > > > > > > > > > >