I really would like to use a float field to find a document's MoreLikeThis documents. However, from what i know i can only use string fields for mlt.fl? What I meant is to use a unique id of a document to find its MoreLikeThis result where mlt.fl field is expected to be a floating point number. Is there a way to do this? Thanks a lot!
preguntado el 03 de julio de 12 a las 06:07
If you want to prefer
myfield field to be close to 10 (for example), boost according to:
&bf="dist(1, myfield, 0, 10, 0)^2"
Actualizar: Seems like MoreLikeThisHandler doesnt support boost functions as you would have wanted. Try extracting the interesting terms with boosts from the MLT handler and then use them on a regular search handler like Dismax.