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



Reply via email to