How to Add Different Custom Boost Factor Query Scores in Elastic Search?


(pavanravikanth) #1

I'm Trail Include Something Like This... How to find Sum of These Three Boost Factor Queries?

QueryBuilders.customBoostFactorQuery(QueryBuilders.matchAllQuery()).boostFactor(5);

QueryBuilders.customBoostFactorQuery(QueryBuilders.matchAllQuery()) .boostFactor(3);

QueryBuilders.customBoostFactorQuery(QueryBuilders.matchAllQuery()) .boostFactor(1);


(system) #2