BoolQueryBuilder compatibility for the new java API

Opensearch 2.9.0:
org.opensearch.index.query.BoolQueryBuilder

Describe the issue:
Currently I build my queries using the BoolQueryBuilder, available in org.opensearch.index.query.BoolQueryBuilder.

I’m trying moving to new Java API, but I do not found a way to keep using BoolQueryBuilder, all apis seems to expect BoolQuery from org.opensearch.client.opensearch._types.query_dsl.BoolQuery.

There are any way to keep the compatibility ?

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