customBoostFactorQuery v0.9 to v6.0


(SatyaRaj) #1

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.....


(David Pilato) #2

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.


(SatyaRaj) #3

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.


(system) #4

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