customBoostFactorQuery v0.9 to v6.0

Hi Team,

Here are few more classes I need help with upgrading.

queryBuilder.should(QueryBuilders.customBoostFactorQuery(qs).boostFactor(queryBoost));
OrFilterBuilder or = QueryBuilders.orFilter();
FacetHelper 

All these are completely deprecated. Can you provide some reference to replace these

Thanks in advance.....

Or has been removed and should be replaced with a BoolQuery and should clauses.
Facet is replaced by aggregations and it's totally different so I'd recommend reading how aggs are working first and try everything from the REST layer (using Kibana Console) before trying to write the equivalent Java Code.

Most of the facet replacements seem to have direct equivalents as per document. Thanks.

Now, I'm stuck with how customBoostFactoryQuery works.

Can you help me with this replacement.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.