Disjunction Max Query

edit

See Disjunction Max Query

QueryBuilder qb = disMaxQuery()
    .add(termQuery("name","kimchy"))        
    .add(termQuery("name","elasticsearch")) 
    .boost(1.2f)                            
    .tieBreaker(0.7f);                      

add your queries

add your queries

boost factor

tie breaker