Skip to content

Commit

Permalink
revert unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kingzacko1 committed Aug 13, 2024
1 parent 3c0d90d commit ddec6c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
import java.util.stream.Collectors;

public class ElasticsearchBackend implements QueryBackend<ESGeneratedQueryContext> {
private static final Logger LOG = LoggerFactory.getLogger(ElasticsearchBackend.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
import java.util.Set;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

public class OpenSearchBackend implements QueryBackend<OSGeneratedQueryContext> {
private static final Logger LOG = LoggerFactory.getLogger(OpenSearchBackend.class);
Expand Down Expand Up @@ -158,6 +159,7 @@ public OSGeneratedQueryContext generate(Query query, Set<SearchError> validation
final SearchSourceBuilder searchTypeSourceBuilder = queryContext.searchSourceBuilder(searchType);

final Set<String> effectiveStreamIds = query.effectiveStreams(searchType);

final BoolQueryBuilder searchTypeOverrides = QueryBuilders.boolQuery()
.must(searchTypeSourceBuilder.query())
.must(
Expand Down

0 comments on commit ddec6c0

Please sign in to comment.