title: Lucene boost: I need to make it work better
body: <p>I'm using Lucene to index components with names and types. Some components are more important, thus, get a bigger boost. However, I cannot get my boost to work properly. I sill get some components appear later (get worse score), even though they have a higher boost. </p>
  
  <p>Note that the indexing is done on one field only and I've set the boost to that field alone. I'm using Lucene in Java.</p>
  
  <p>I don't think it has anything to do with the field length. I've seen components with the same name (but different type) get the wrong score. </p>