How do I make sure that a match in a document title has greater weight than than a match in a document body?

Otis Gospodnetic

If you put the title in a separate field from the body, and search both fields, matches in the title will usually be stronger without explicit boosting.
This is because the scores are normalized by the length of the field, and the title tends to be much shorter than the body. Therefore, even without boosting, title matches usually come before body matches.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact