Boost SOLR/LUCENE documents having certaint category / tags - simulate 'IF' function?

My experience is that that method works just fine in most cases If you want to, you can simplify the scoring formula as sum_t match(t) * boost(t) with match(x) in {0,1} then the query foo (+foo +category:9999) doubles the score relative to foo The actual scoring formula has normalization terms etc. Which will probably make exactly doubling impossible, but if you're really motivated you may be able to work it out - the formula is here You can always write your own Weight class, of course.

My experience is that that method works just fine in most cases. If you want to, you can simplify the scoring formula as sum_t match(t) * boost(t) with match(x) in {0,1} then the query foo (+foo +category:9999) doubles the score relative to foo. The actual scoring formula has normalization terms etc. Which will probably make exactly doubling impossible, but if you're really motivated you may be able to work it out - the formula is here.

You can always write your own Weight class, of course.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions