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 7d42e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -158,6 +158,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 7d42e5f

Please sign in to comment.