On Thu, Dec 11, 2008 at 6:49 AM, ayyanar <[EMAIL PROTECTED]>wrote: > 1) Can you given an example for field level boosting and document level > boosting and the difference between two?
Field level boosting is used when one field is considered more or less important than another. For example, you may want the title field of a document to be considered more important so that if a term appears in the title this considered more important than if it appears in the body. On the other hand, document level boosting is about when a document is more or less important than another. For example, an FAQ is often considered a very important page and as such, may be required to appear higher in results than it otherwise would have. > > > 2) If we set the boost at field level (index time), should the query > contains the that particular field? > For example, if we set the boost for title field, should we create the > termquery for title field? > > Yes, if you want that it to make any difference. Rob