Boosting Query

See Boosting Query

QueryBuilder qb = boostingQuery()
    .positive(termQuery("name","kimchy"))   
    .negative(termQuery("name","dadoonet")) 
    .negativeBoost(0.2f);                   

query that will promote documents

query that will demote documents

negative boost