It should help to weight the terms with their frequency in the original document. That will distinguish between two documents with the same terms, but different focus.
wunder On 4/22/08 7:46 AM, "Erik Hatcher" <[EMAIL PROTECTED]> wrote: > No, the MLT feature does not have that kind of field-specific > boosting capability. It sounds like it could be a useful enhancement > though. Of course you do get boosts for "interesting terms" already, > but maybe having an additional field-specific boost would be a nice > touch too. > > Erik > > On Apr 22, 2008, at 9:13 AM, Francisco Sanmartin wrote: >> I know that only one query of that type does not change anything. >> But when it's two or more with different boosts, i hope it does. >> Here is the situation: >> My docs have "Title" and "Description". What I want to do is to >> give more relevancy to the morelikethis on the title than on the >> description. So the query would be like this: >> >> query = (words^0.4 in^0.3 the^0.56 title^0.65)^0.70 (words^0.7 >> in^0.33 the^0.49 description^0.43)^0.30 >> >> This way, the words in the title are more relevant than the words >> in the description, right? >> >> Thanks! >> >> Pako >> >> >> Erik Hatcher wrote: >>> >>> On Apr 21, 2008, at 5:02 PM, Francisco Sanmartin wrote: >>>> Is it possible to boost the query that MoreLikeThis returns >>>> before sending it to Solr? I mean, technically is possible, >>>> because you can add a factor to the whole query but...does it >>>> make sense? (Remember that MoreLikeThis can already boosts each >>>> term inside the query). >>>> >>>> For example, this could be a result of MoreLikeThis (with native >>>> boosting enabled) >>>> >>>> queryResultMLT = (this^0.4 is^0.5 a^0.6 query^0.33 of^0.29 >>>> morelikethis^0.67) >>>> >>>> what I want to do is >>>> >>>> queryResulltMLT = (this^0.4 is^0.5 a^0.6 query^0.33 of^0.29 >>>> morelikethis^0.67)^0.60 <---(notice the boost of 0.60 for >>>> the whole query) >>> >>> That last boost wouldn't change the doc ordering at all, so it'd >>> be kinda useless. >>> >>> What are you trying to accomplish? >>> >>> Erik >>> >>> >