Skip to content

Commit fdf7997

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3118a97 commit fdf7997

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

server/src/main/java/org/elasticsearch/search/aggregations/metrics/TopHitsAggregationBuilder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import java.util.Objects;
5050
import java.util.Optional;
5151
import java.util.Set;
52-
import java.util.function.ToLongFunction;
5352

5453
public class TopHitsAggregationBuilder extends AbstractAggregationBuilder<TopHitsAggregationBuilder> {
5554
public static final String NAME = "top_hits";

server/src/main/java/org/elasticsearch/search/sort/FieldSortBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -744,8 +744,8 @@ public FieldSortBuilder rewrite(QueryRewriteContext ctx) throws IOException {
744744

745745
@Override
746746
public boolean supportsParallelCollection() {
747-
//Disable parallel collection for sort by field.
748-
//It is supported but not optimized on the Lucene side to share info across collectors, and can cause regressions.
747+
// Disable parallel collection for sort by field.
748+
// It is supported but not optimized on the Lucene side to share info across collectors, and can cause regressions.
749749
return false;
750750
}
751751
}

server/src/main/java/org/elasticsearch/search/sort/GeoDistanceSortBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,8 @@ public GeoDistanceSortBuilder rewrite(QueryRewriteContext ctx) throws IOExceptio
724724

725725
@Override
726726
public boolean supportsParallelCollection() {
727-
//Disable parallel collection for sort by field.
728-
//It is supported but not optimized on the Lucene side to share info across collectors, and can cause regressions.
727+
// Disable parallel collection for sort by field.
728+
// It is supported but not optimized on the Lucene side to share info across collectors, and can cause regressions.
729729
return false;
730730
}
731731
}

0 commit comments

Comments
 (0)