Lucene boost: I need to make it work better
Posted
by zvikico
on Stack Overflow
See other posts from Stack Overflow
or by zvikico
Published on 2009-02-18T10:31:51Z
Indexed on
2010/04/25
16:13 UTC
Read the original article
Hit count: 138
lucene
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.
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.
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.
© Stack Overflow or respective owner