Skip to content

Commit 1f360a8

Browse files
committed
rewrite
1 parent 3c6ab94 commit 1f360a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/lucene/LuceneSliceQueue.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ public static LuceneSliceQueue create(
212212
for (List<PartialLeafReaderContext> group : groups) {
213213
if (group.isEmpty() == false) {
214214
final int slicePosition = nextSliceId++;
215-
slices.add(new LuceneSlice(slicePosition, queryHead, ctx, group, scoreMode, queryAndExtra));
215+
var rewrittenQueryAndTag = new QueryAndTags(query, queryAndExtra.tags);
216+
slices.add(new LuceneSlice(slicePosition, queryHead, ctx, group, scoreMode, rewrittenQueryAndTag));
216217
queryHead = false;
217218
}
218219
}

0 commit comments

Comments
 (0)