Free and Open Source, Distributed, RESTful Search Engine
This report summarizes scanner evidence for elastic/elasticsearch, a Java project with 78,429 GitHub stars. SynthScan examined 8,086,864 lines of code across 39356 source files, recording 2590 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1097 finding(s).
Are imports declared and package/API names verified? 948 finding(s).
Are wrappers, guards, and repeated structures necessary? 638 finding(s).
Which changes need focused human review? 2590 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2590 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | .libra/specialists/gradle-build-logic.md | 62 | - Log through Gradle logging (`org.gradle.api.logging.Logging.getLogger(...)`). Do not use `System.out`, `System.err`, o | CODE |
| CRITICAL | …icsearch/indices/analysis/AnalysisFactoryTestCase.java | 302 | org.apache.lucene.analysis.TokenizerFactory.availableTokenizers() | CODE |
| CRITICAL | …icsearch/indices/analysis/AnalysisFactoryTestCase.java | 314 | org.apache.lucene.analysis.CharFilterFactory.availableCharFilters() | CODE |
| CRITICAL | …icsearch/indices/analysis/AnalysisFactoryTestCase.java | 326 | org.apache.lucene.analysis.TokenFilterFactory.availableTokenFilters() | CODE |
| CRITICAL | …src/main/java/org/elasticsearch/test/StreamsUtils.java | 29 | return org.elasticsearch.common.io.Streams.copyToString(new InputStreamReader(is, StandardCharsets.UTF_8)); | CODE |
| CRITICAL | …src/main/java/org/elasticsearch/test/StreamsUtils.java | 37 | return org.elasticsearch.common.io.Streams.copyToString(new InputStreamReader(is, StandardCharsets.UTF_8)); | CODE |
| CRITICAL | …/plugin/analysis/icu/IcuFoldingTokenFilterFactory.java | 50 | return new org.apache.lucene.analysis.icu.ICUNormalizer2Filter(tokenStream, normalizer); | CODE |
| CRITICAL | …ugin/analysis/icu/IcuNormalizerTokenFilterFactory.java | 44 | return new org.apache.lucene.analysis.icu.ICUNormalizer2Filter(tokenStream, normalizer); | CODE |
| CRITICAL | …rg/elasticsearch/cli/keystore/ShowKeyStoreCommand.java | 57 | final BytesReference bytes = org.elasticsearch.common.io.Streams.readFully(input); | CODE |
| CRITICAL | …verify_version_constants/VerifyVersionConstantsIT.java | 45 | org.apache.lucene.util.Version luceneVersion = org.apache.lucene.util.Version.parse(luceneVersionString); | CODE |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 306 | // at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:5531) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 307 | // at org.apache.lucene.index.IndexWriter.abortMerges(IndexWriter.java:2733) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 308 | // at org.apache.lucene.index.IndexWriter.rollbackInternalNoCommi(IndexWriter.java:2488) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 309 | // at org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2457) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 311 | // at org.apache.lucene.index.IndexWriter.maybeCloseOnTragicEvent(IndexWriter.java:5765) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 312 | // at org.apache.lucene.index.IndexWriter.tragicEvent(IndexWriter.java:5755) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 313 | // at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4780) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 316 | // at org.elasticsearch.index.engine.ThreadPoolMergeScheduler.doMerge(ThreadPoolMergeScheduler.java:347) | COMMENT |
| CRITICAL⚡ | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 318 | // at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService.runMergeTask(ThreadPoolMergeExecutorService. | COMMENT |
| CRITICAL | …h/indices/recovery/PeerRecoveryTargetServiceTests.java | 817 | String writtenBy = org.apache.lucene.util.Version.LATEST.toString(); | CODE |
| CRITICAL | …earch/indices/recovery/RecoverySourceHandlerTests.java | 1784 | org.apache.lucene.util.Version.LATEST.toString() | CODE |
| CRITICAL | …ch/search/suggest/CompletionSuggestionOptionTests.java | 49 | (map, value) -> map.put(Suggest.Suggestion.Entry.Option.TEXT.getPreferredName(), value), | CODE |
| CRITICAL | …ch/search/suggest/CompletionSuggestionOptionTests.java | 53 | (map, value) -> map.put(Suggest.Suggestion.Entry.Option.SCORE.getPreferredName(), value), | CODE |
| CRITICAL | …ch/search/suggest/CompletionSuggestionOptionTests.java | 82 | Text text = new Text((String) values.get(Suggest.Suggestion.Entry.Option.TEXT.getPreferredName())); | CODE |
| CRITICAL | …ch/search/suggest/CompletionSuggestionOptionTests.java | 83 | Float score = (Float) values.get(Suggest.Suggestion.Entry.Option.SCORE.getPreferredName()); | CODE |
| CRITICAL | …ch/fetch/subphase/highlight/PlainHighlighterTests.java | 37 | org.apache.lucene.search.highlight.Highlighter highlighter = new org.apache.lucene.search.highlight.Highlighter( | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/logging/JULBridgeTests.java | 108 | assertMessage("above severe", julLevel(java.util.logging.Level.SEVERE.intValue() + 1), Level.ERROR); | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/logging/JULBridgeTests.java | 109 | assertMessage("above warning", julLevel(java.util.logging.Level.WARNING.intValue() + 1), Level.WARN); | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/logging/JULBridgeTests.java | 110 | assertMessage("above info", julLevel(java.util.logging.Level.INFO.intValue() + 1), Level.INFO); | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/logging/JULBridgeTests.java | 111 | assertMessage("above fine", julLevel(java.util.logging.Level.FINE.intValue() + 1), Level.DEBUG); | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/logging/JULBridgeTests.java | 112 | assertMessage("above finest", julLevel(java.util.logging.Level.FINEST.intValue() + 1), Level.TRACE); | CODE |
| CRITICAL | …rch/index/codec/tsdb/ES87TSDBDocValuesFormatTests.java | 287 | IndexVersion.current().luceneVersion().onOrAfter(org.apache.lucene.util.Version.fromBits(10, 5, 0)) | CODE |
| CRITICAL | …/ES87TSDBDocValuesFormatVariableSkipIntervalTests.java | 214 | IndexVersion.current().luceneVersion().onOrAfter(org.apache.lucene.util.Version.fromBits(10, 5, 0)) | CODE |
| CRITICAL | …s/diskbbq/next/ESNextRescoreOversampleTestFixture.java | 456 | org.apache.lucene.util.VectorUtil.l2normalize(v); | CODE |
| CRITICAL | …/elasticsearch/index/mapper/KeywordFieldTypeTests.java | 1001 | return new org.apache.lucene.analysis.core.LowerCaseFilter(tokenStream); | CODE |
| CRITICAL | …arch/index/query/functionscore/FunctionScoreTests.java | 700 | for (org.apache.lucene.search.ScoreMode scoreMode : org.apache.lucene.search.ScoreMode.values()) { | CODE |
| CRITICAL | …earch/indices/analysis/wrappers/StableApiWrappers.java | 156 | return org.elasticsearch.index.analysis.AnalysisMode.valueOf(analysisMode.name()); | CODE |
| CRITICAL | …ch/search/suggest/completion/CompletionSuggestion.java | 267 | // org.elasticsearch.search.suggest.completion.CompletionSuggestion.reduce() | COMMENT |
| CRITICAL | …/search/fetch/subphase/highlight/PlainHighlighter.java | 98 | entry = new org.apache.lucene.search.highlight.Highlighter(formatter, encoder, queryScorer); | CODE |
| CRITICAL | …ch/fetch/subphase/highlight/FastVectorHighlighter.java | 136 | cache.fvh = new org.apache.lucene.search.vectorhighlight.FastVectorHighlighter(); | CODE |
| CRITICAL | …ch/aggregations/metrics/TopHitsAggregationBuilder.java | 531 | new org.elasticsearch.search.fetch.subphase.ScriptFieldsContext.ScriptField( | CODE |
| CRITICAL | …h/search/aggregations/bucket/geogrid/CellIdSource.java | 59 | final GeoPointValues values = org.elasticsearch.index.fielddata.FieldData.unwrapSingleton(multiGeoPointValues); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 124 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(bytes); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 156 | return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary(); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 173 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(ordinals); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 450 | return org.elasticsearch.index.fielddata.FieldData.emptySortedNumericDoubles(); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 455 | return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary(); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 500 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(values); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 503 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(values); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 702 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(bytes); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 731 | return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary(); | CODE |
| CRITICAL | …icsearch/search/aggregations/support/ValuesSource.java | 739 | return org.elasticsearch.index.fielddata.FieldData.docsWithValue(geoPoints); | CODE |
| CRITICAL⚡ | …a/org/elasticsearch/common/time/DateUtilsRounding.java | 29 | * - org.joda.time.chrono.GregorianChronology.calculateFirstDayOfYearMillis(int year) | COMMENT |
| CRITICAL⚡ | …a/org/elasticsearch/common/time/DateUtilsRounding.java | 30 | * - org.joda.time.chrono.BasicChronology.getYear(int year) | COMMENT |
| CRITICAL⚡ | …a/org/elasticsearch/common/time/DateUtilsRounding.java | 31 | * - org.joda.time.chrono.BasicGJChronology.getMonthOfYear(long utcMillis, int year) | COMMENT |
| CRITICAL⚡ | …a/org/elasticsearch/common/time/DateUtilsRounding.java | 32 | * - org.joda.time.chrono.BasicGJChronology.getTotalMillisByYearMonth(int year, int month) | COMMENT |
| CRITICAL | …c/main/java/org/elasticsearch/action/ActionModule.java | 1012 | registerHandler.accept(new org.elasticsearch.rest.action.cat.RestCountAction(crossProjectModeDecider)); | CODE |
| CRITICAL | …c/main/java/org/elasticsearch/action/ActionModule.java | 1016 | registerHandler.accept(new org.elasticsearch.rest.action.cat.RestPendingClusterTasksAction()); | CODE |
| CRITICAL | …arch/action/admin/cluster/stats/ClusterStatsNodes.java | 288 | this.mem = new org.elasticsearch.monitor.os.OsStats.Mem(totalMemory, adjustedTotalMemory, freeMemory); | CODE |
| CRITICAL | …atastreams/lifecycle/GetDataStreamLifecycleAction.java | 213 | org.elasticsearch.cluster.metadata.DataStreamLifecycle.addEffectiveRetentionParams(params), | CODE |
| 648 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ticsearch/test/compiler/InMemoryJavaCompilerTests.java | 0 | * package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * ret | STRING |
| HIGH | …/elasticsearch/test/compiler/InMemoryJavaCompiler.java | 0 | * package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * ret | STRING |
| HIGH | …csearch/gradle/internal/test/InMemoryJavaCompiler.java | 0 | * package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * ret | STRING |
| HIGH | …/elasticsearch/multiproject/MultiProjectRestartIT.java | 0 | { "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } } | STRING |
| HIGH | …ch/xpack/security/ReindexRelocationWithSecurityIT.java | 0 | { "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } } | STRING |
| HIGH | …/lifecycle/DataStreamLifecyclePermissionsTestCase.java | 0 | { "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } } | STRING |
| HIGH | …ticsearch/upgrades/FullClusterRestartDownsampleIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "time | STRING |
| HIGH | …Test/java/org/elasticsearch/upgrades/DownsampleIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "time | STRING |
| HIGH | …lasticsearch/xpack/ilm/actions/DownsampleActionIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "time | STRING |
| HIGH | …ticsearch/upgrades/FullClusterRestartDownsampleIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "mode | STRING |
| HIGH | …Test/java/org/elasticsearch/upgrades/DownsampleIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "mode | STRING |
| HIGH | …a/org/elasticsearch/xpack/ilm/CCRIndexLifecycleIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "mode | STRING |
| HIGH | …lasticsearch/xpack/ilm/actions/DownsampleActionIT.java | 0 | { "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "mode | STRING |
| HIGH | …/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java | 0 | { "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] } | STRING |
| HIGH | …ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java | 0 | { "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] } | STRING |
| HIGH | …rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java | 0 | { "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] } | STRING |
| HIGH | …/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java | 0 | { "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } } | STRING |
| HIGH | …ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java | 0 | { "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } } | STRING |
| HIGH | …rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java | 0 | { "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } } | STRING |
| HIGH | …/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java | 0 | { "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } } | STRING |
| HIGH | …ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java | 0 | { "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } } | STRING |
| HIGH | …rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java | 0 | { "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } } | STRING |
| HIGH | …asticsearch/indices/template/ComposableTemplateIT.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …ack/stateless/cluster/metadata/CreateIndexLimitIT.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …cluster/metadata/ProjectMetadataRamBytesUsedTests.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …h/cluster/metadata/IndexMetadataRamBytesUsedTests.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …r/metadata/IndexTemplateMetadataRamBytesUsedTests.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …uster/metadata/IndexMetadataRamBytesUsedBenchmark.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …ateless/memory/StatelessMemoryMetricsServiceTests.java | 0 | { "_doc": { "properties": { "field": { "type": "keyword" } } } } | STRING |
| HIGH | …va/org/elasticsearch/search/scroll/SearchScrollIT.java | 0 | {"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}} | STRING |
| HIGH | …org/elasticsearch/action/search/TransportSearchIT.java | 0 | {"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}} | STRING |
| HIGH | …ava/org/elasticsearch/action/search/PointInTimeIT.java | 0 | {"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}} | STRING |
| HIGH | …h/xpack/searchablesnapshots/RetrySearchIntegTests.java | 0 | {"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}} | STRING |
| HIGH | …/org/elasticsearch/search/query/IntervalQueriesIT.java | 0 | { "_doc" : { "properties" : { "text" : { "type" : "text" } }}} | STRING |
| HIGH | …/subphase/highlight/CustomUnifiedHighlighterTests.java | 0 | { "_doc" : { "properties" : { "text" : { "type" : "text" } }}} | STRING |
| HIGH | …ch/fetch/subphase/highlight/PlainHighlighterTests.java | 0 | { "_doc" : { "properties" : { "text" : { "type" : "text" } }}} | STRING |
| HIGH | …ch/action/bulk/OperationsOnSeqNoDisabledIndicesIT.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …index/reindex/BulkByPaginatedSearchSeqNoSettingIT.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …g/elasticsearch/xpack/slm/SnapshotLifecycleRestIT.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …xpack/logsdb/LogsdbIndexModeSettingsProviderTests.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …ava/org/elasticsearch/indices/IndicesServiceTests.java | 0 | { "_doc":{ "properties": { "@timestamp": { "type": "date" } } } } | STRING |
| HIGH | …va/org/elasticsearch/readiness/ReadinessClusterIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byte | STRING |
| HIGH | …earch/reservedstate/service/FileSettingsServiceIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byte | STRING |
| HIGH | …/reservedstate/service/SnapshotsAndFileSettingsIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byte | STRING |
| HIGH | …earch/reservedstate/service/FileSettingsServiceIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} } | STRING |
| HIGH | …/reservedstate/service/SnapshotsAndFileSettingsIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} } | STRING |
| HIGH | …y/support/CleanupRoleMappingDuplicatesMigrationIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} } | STRING |
| HIGH | …less/settings/secure/ClusterSecretsFileSettingsIT.java | 0 | { "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} } | STRING |
| HIGH | …sticsearch/rest/action/document/RestIndexActionIT.java | 0 | { "settings": { "index.slice.enabled": true, "number_of_shards": 1 } } | STRING |
| HIGH | …arch/script/mustache/SearchTemplateSliceSupportIT.java | 0 | { "settings": { "index.slice.enabled": true, "number_of_shards": 1 } } | STRING |
| HIGH | …arch/xpack/fleet/action/FleetSearchSliceSupportIT.java | 0 | { "settings": { "index.slice.enabled": true, "number_of_shards": 1 } } | STRING |
| HIGH | …a/org/elasticsearch/escf/EscfEncoderSimdJsonTests.java | 0 | {"user":{"name":"alice","age":30},"status":"active"} | STRING |
| HIGH | …t/java/org/elasticsearch/escf/EscfEncoderMapTests.java | 0 | {"user":{"name":"alice","age":30},"status":"active"} | STRING |
| HIGH | …test/java/org/elasticsearch/escf/EscfEncoderTests.java | 0 | {"user":{"name":"alice","age":30},"status":"active"} | STRING |
| HIGH | …/org/elasticsearch/search/suggest/SuggestionTests.java | 0 | { "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext" | STRING |
| HIGH | …elasticsearch/search/suggest/SuggestionEntryTests.java | 0 | { "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext" | STRING |
| HIGH | …ava/org/elasticsearch/search/suggest/SuggestTests.java | 0 | { "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext" | STRING |
| HIGH | …dex/codec/tsdb/TSDBSyntheticIdPostingsFormatTests.java | 0 | { "_doc": { "properties": { "@timestamp": { "type": "date" }, "hostname": { "type": "keyword", "time_series_dimension": | STRING |
| 427 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | muted-tests.yml | 21 | method: testStopLookback_forceTrue_closeJobFalse | COMMENT |
| LOW | muted-tests.yml | 41 | # | COMMENT |
| LOW | …rnal/src/main/resources/external-changelog-sources.yml | 1 | # External repositories whose changelog entries should be merged into the | COMMENT |
| LOW | …nal/src/main/resources/forbidden/third-party-audit.txt | 1 | # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | COMMENT |
| LOW | …nal/src/main/resources/forbidden/third-party-audit.txt | 21 | # // ... | COMMENT |
| LOW | …earch/gradle/internal/ElasticsearchJavaBasePlugin.java | 141 | project.getNormalization().getRuntimeClasspath().ignore("META-INF/MANIFEST.MF"); | COMMENT |
| LOW | …l/dependencies/rules/ComponentMetadataRulesPlugin.java | 221 | // use 2.7.7_5. | COMMENT |
| LOW | …l/dependencies/rules/ComponentMetadataRulesPlugin.java | 261 | // org.apache.directory.server:apacheds-kerberos-codec brings in org.apache.directory.api:api-asn1-api:1.0.0. We | COMMENT |
| LOW | …l/dependencies/rules/ComponentMetadataRulesPlugin.java | 381 | // org.apache.tika:tika-parser-microsoft-module brings in org.bouncycastle:bcprov-jdk18on:1.81. We use 1.86. | COMMENT |
| LOW | …rch/gradle/internal/precommit/ThirdPartyAuditTask.java | 321 | FileTree jarFiles = archiveOperations.zipTree(jar); | COMMENT |
| LOW | .ci/scripts/check-esql-generated-headers.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …/cluster/coordination/AbstractCoordinatorTestCase.java | 221 | // 2. state publisher task on master | COMMENT |
| LOW | …icsearch/indices/analysis/AnalysisFactoryTestCase.java | 181 | entry("numericpayload", Void.class), | COMMENT |
| LOW | …/java/org/elasticsearch/common/util/MockBigArrays.java | 61 | /// - [BigArrays] calls `recycler.bytePage()` / `objectPage()` once, records the page in `MockPageCacheRecycler.ACQUIRED | COMMENT |
| LOW | …/test/cluster/local/DefaultSystemPropertyProvider.java | 21 | public Map<String, String> get(LocalClusterSpec.LocalNodeSpec nodeSpec) { | COMMENT |
| LOW | plugins/analysis-ukrainian/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | plugins/analysis-phonetic/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | …icsearch/plugin/analysis/phonetic/KoelnerPhonetik.java | 201 | // unbounded: without a limit, split() allocates a String and array/list slot per segment before | COMMENT |
| LOW | plugins/analysis-nori/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | plugins/analysis-kuromoji/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | plugins/analysis-smartcn/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | plugins/analysis-stempel/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | …search/example/painlesswhitelist/example_whitelist.txt | 1 | # | COMMENT |
| LOW | plugins/analysis-icu/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | …ript/field/murmur3/org.elasticsearch.field.murmur3.txt | 1 | # | COMMENT |
| LOW | distribution/docker/src/docker/bin/docker-entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/docker/src/docker/bin/docker-entrypoint.sh | 21 | # Run whatever command the user wanted | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 1 | # ======================== Elasticsearch Configuration ========================= | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 21 | # Use a descriptive name for the node: | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 41 | # Lock the memory on startup: | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 61 | #http.port: 9200 | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 81 | # | COMMENT |
| LOW | qa/vector/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | server/licenses/lucene-LICENSE.txt | 281 | # Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com> | COMMENT |
| LOW | …java/org/elasticsearch/snapshots/RestoringShardIT.java | 321 | UnavailableShardsException.class, | COMMENT |
| LOW | …org/elasticsearch/index/engine/MergeWithFailureIT.java | 301 | // | COMMENT |
| LOW | …/heappressure/QueryCacheDenseClauseHeapPressureIT.java | 41 | /// tens of millions of documents, each search holding about 330 MB of bitsets on a 2 GB heap. Reproducing it takes four | COMMENT |
| LOW | …asticsearch/cluster/coordination/CoordinatorTests.java | 1481 | COMMENT | |
| LOW | …/allocation/allocator/DesiredBalanceComputerTests.java | 2001 | /// [DesiredBalanceComputer#maybeSimulateAlreadyStartedShards] accounts for shard movements that have occurred since | COMMENT |
| LOW | …luster/metadata/MetadataIndexTemplateServiceTests.java | 1161 | COMMENT | |
| LOW | …luster/metadata/MetadataIndexTemplateServiceTests.java | 1261 | COMMENT | |
| LOW | …luster/metadata/MetadataIndexTemplateServiceTests.java | 1301 | .downsamplingMethod(ResettableValue.reset()) | COMMENT |
| LOW | …icsearch/action/bulk/ShardBatchMapperResolveTests.java | 221 | // b.startObject("runtime"); | COMMENT |
| LOW | …est/java/org/elasticsearch/index/VersionTypeTests.java | 41 | assertTrue(VersionType.INTERNAL.isVersionConflictForWrites(9, 10, randomBoolean())); | COMMENT |
| LOW | …codec/vectors/ash/AsymmetricHashingQuantizerTests.java | 321 | assertThat(quantizer.nDims(2046), equalTo(1023)); | COMMENT |
| LOW | …csearch/gateway/PersistedClusterStateServiceTests.java | 1461 | // size of a write to add index metadata. So while each index metadata write will add one segment, it wi | COMMENT |
| LOW | …rg/elasticsearch/cluster/ClusterStateTaskListener.java | 21 | /// Tasks may themselves fail during execution, either by throwing an exception rather than returning an updated [Cl | COMMENT |
| LOW | …rg/elasticsearch/cluster/ClusterStateTaskListener.java | 41 | /// successfully but the publication of the resulting [ClusterState] failed. In that case this callback is completed | COMMENT |
| LOW | …g/elasticsearch/cluster/health/ClusterShardHealth.java | 161 | out.writeVInt(relocatingShards); | COMMENT |
| LOW | …va/org/elasticsearch/cluster/routing/ShardRouting.java | 41 | COMMENT | |
| LOW | …va/org/elasticsearch/cluster/routing/ShardRouting.java | 61 | COMMENT | |
| LOW | …ting/allocation/RecoveryDirectCancellationService.java | 61 | /// - Desired-balance cancellations ([cancelUndesiredRecoveries]): when the desired balance changes and an | COMMENT |
| LOW | …ting/allocation/RecoveryDirectCancellationService.java | 201 | final boolean newMaster = event.previousState().nodes().isLocalNodeElectedMaster() == false; | COMMENT |
| LOW | …ting/allocation/allocator/BalancedShardsAllocator.java | 601 | // assigned to, then there is no way moving the shard to the node with the worse weight | COMMENT |
| LOW | …asticsearch/cluster/metadata/IndexReshardingState.java | 101 | COMMENT | |
| LOW | …rg/elasticsearch/indices/IndexingMemoryController.java | 501 | indexingBuffer, | COMMENT |
| LOW | …dices/recovery/DataNodeRecoveryThrottlingSettings.java | 21 | import java.util.function.Consumer; | COMMENT |
| LOW | …dices/recovery/DataNodeRecoveryThrottlingSettings.java | 41 | /// ## Target (incoming) side | COMMENT |
| LOW | …dices/recovery/DataNodeRecoveryThrottlingSettings.java | 61 | /// The combination of [#INDICES_RECOVERY_MAX_CONCURRENT_OUTGOING_RECOVERIES_SETTING] and | COMMENT |
| LOW | …dices/recovery/DataNodeRecoveryThrottlingSettings.java | 81 | /// [#INDICES_RECOVERY_MAX_CONCURRENT_INCOMING_RECOVERIES_PER_HEAP_GB_SETTING] when applicable (see [#appliesIncomin | COMMENT |
| 542 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …lasticsearch/common/xcontent/support/sample_no_pr.json | 12 | "name" : "John Doe", | CODE |
| LOW | …rch/common/xcontent/support/sample_no_title_pages.json | 11 | "name" : "John Doe", | CODE |
| LOW | …ticsearch/common/xcontent/support/sample_no_title.json | 12 | "name" : "John Doe", | CODE |
| LOW | …ommon/xcontent/support/sample_no_properties_names.json | 13 | "name" : "John Doe", | CODE |
| LOW | …on/xcontent/support/sample_no_properties_en_names.json | 13 | "name" : "John Doe", | CODE |
| LOW | …csearch/common/xcontent/support/sample_just_names.json | 4 | "name" : "John Doe" | CODE |
| LOW | …sticsearch/common/xcontent/support/sample_no_tags.json | 9 | "name" : "John Doe", | CODE |
| LOW | …/org/elasticsearch/common/xcontent/support/sample.json | 13 | "name" : "John Doe", | CODE |
| LOW | …earch/common/xcontent/support/sample_just_authors.json | 4 | "name" : "John Doe", | CODE |
| LOW | …t/support/sample_no_properties_distributors_names.json | 13 | "name" : "John Doe", | CODE |
| LOW | …ommon/xcontent/support/sample_no_authors_lastname.json | 13 | "name" : "John Doe", | CODE |
| LOW | …rch/xpack/esql/heap_attack/HeapAttackLookupJoinIT.java | 227 | str.append("Lorem ipsum dolor sit amet, consectetur adipiscing elit."); | CODE |
| LOW | …rch/xpack/esql/heap_attack/HeapAttackLookupJoinIT.java | 227 | str.append("Lorem ipsum dolor sit amet, consectetur adipiscing elit."); | CODE |
| LOW | …/org/elasticsearch/test/rest/yaml/ObjectPathTests.java | 270 | stash.stashValue("placeholder", "elements"); | CODE |
| LOW⚡ | …/org/elasticsearch/test/rest/yaml/ObjectPathTests.java | 284 | stash.stashValue("placeholder", "ele"); | CODE |
| LOW⚡ | …/org/elasticsearch/test/rest/yaml/ObjectPathTests.java | 290 | stash.stashValue("placeholder", "le"); | CODE |
| LOW⚡ | …/org/elasticsearch/test/rest/yaml/ObjectPathTests.java | 296 | stash.stashValue("placeholder", "le"); | CODE |
| LOW⚡ | …ces/rest-api-spec/test/custom-suggester/20_suggest.yml | 51 | - match: { suggest.test.0.dummy: entry-dummy-value } | CODE |
| LOW⚡ | …ces/rest-api-spec/test/custom-suggester/20_suggest.yml | 53 | - match: { suggest.test.0.options.0.dummy: option-dummy-value-1 } | CODE |
| LOW⚡ | …ces/rest-api-spec/test/custom-suggester/20_suggest.yml | 55 | - match: { suggest.test.0.options.1.dummy: option-dummy-value-2 } | CODE |
| LOW⚡ | …ticsearch/example/customsuggester/CustomSuggester.java | 38 | CustomSuggestion.Entry.Option option12 = new CustomSuggestion.Entry.Option(new Text(firstOption), 0.9f, "option- | CODE |
| LOW⚡ | …ticsearch/example/customsuggester/CustomSuggester.java | 43 | CustomSuggestion.Entry.Option option123 = new CustomSuggestion.Entry.Option(new Text(secondOption), 0.8f, "optio | CODE |
| LOW⚡ | …ticsearch/example/customsuggester/CustomSuggester.java | 53 | CustomSuggestion response = new CustomSuggestion(name, suggestion.getSize(), "suggestion-dummy-value"); | CODE |
| LOW⚡ | …ticsearch/example/customsuggester/CustomSuggester.java | 54 | CustomSuggestion.Entry entry = new CustomSuggestion.Entry(new Text(text), 0, text.length(), "entry-dummy-value") | CODE |
| LOW | …t/java/org/elasticsearch/test/knn/KnnIndexerTests.java | 33 | Document document = factory.createDocument(new StringField("placeholder", "value", Field.Store.NO), 0); | CODE |
| LOW | …t/java/org/elasticsearch/test/knn/KnnIndexerTests.java | 49 | Document document = factory.createDocument(new StringField("placeholder", "value", Field.Store.NO), 0); | CODE |
| LOW | …sticsearch/search/fetch/subphase/MatchedQueriesIT.java | 289 | prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get(); | CODE |
| LOW | …sticsearch/search/fetch/subphase/MatchedQueriesIT.java | 289 | prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get(); | CODE |
| LOW | …sticsearch/search/fetch/subphase/MatchedQueriesIT.java | 326 | prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get(); | CODE |
| LOW | …sticsearch/search/fetch/subphase/MatchedQueriesIT.java | 326 | prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get(); | CODE |
| LOW | …cluster/coordination/ClusterBootstrapServiceTests.java | 193 | assertThat(vc.getNodeIds(), not(hasItem(containsString("placeholder")))); | CODE |
| LOW | …icsearch/indices/TimestampFieldMapperServiceTests.java | 105 | "dummy_value" | CODE |
| LOW | …ticsearch/transport/Lz4TransportDecompressorTests.java | 197 | final byte[] literals = "Lorem ipsum".getBytes(StandardCharsets.US_ASCII); | CODE |
| LOW | …ticsearch/transport/Lz4TransportDecompressorTests.java | 198 | final byte[] trailingBytes = "dolor sit amet consectetur adipiscing elit sed do eiusmod tempor".getBytes(Standar | CODE |
| LOW | …ch/fetch/subphase/highlight/PlainHighlighterTests.java | 53 | "Lorem Ipsum string Generator that helps to create dummy text for all layout needs.", | CODE |
| LOW | …ch/fetch/subphase/highlight/PlainHighlighterTests.java | 69 | "Lorem Ipsum <em>string</em> Generator that helps to create" | STRING |
| LOW | …ch/fetch/subphase/highlight/PlainHighlighterTests.java | 83 | "Lorem Ipsum <em>string</em> <em>Generator</em> that helps to create", | STRING |
| LOW | …aggregations/pipeline/BucketScriptAggregatorTests.java | 75 | FiltersAggregationBuilder filters = new FiltersAggregationBuilder("placeholder", new MatchAllQueryBuilder()).sub | CODE |
| LOW | …aggregations/pipeline/BucketScriptAggregatorTests.java | 111 | FilterAggregationBuilder filter = new FilterAggregationBuilder("placeholder", new MatchAllQueryBuilder()).subAgg | CODE |
| LOW | …ch/action/admin/indices/resolve/ResolveIndexTests.java | 579 | "dummy_value" | CODE |
| LOW | …/index/mapper/flattened/FlattenedFieldMapperTests.java | 947 | b.field("null_value", "placeholder"); | CODE |
| LOW | …/index/mapper/flattened/FlattenedFieldMapperTests.java | 962 | assertEquals(new BytesRef("placeholder"), otherFields.get(0).binaryValue()); | CODE |
| LOW | …/index/mapper/flattened/FlattenedFieldMapperTests.java | 963 | assertEquals(new BytesRef("placeholder"), otherFields.get(1).binaryValue()); | CODE |
| LOW | …/index/mapper/flattened/FlattenedFieldParserTests.java | 440 | "placeholder", | CODE |
| LOW | …/index/mapper/flattened/FlattenedFieldParserTests.java | 459 | assertEquals(new BytesRef("placeholder"), field.binaryValue()); | CODE |
| LOW⚡ | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 68 | var fooValue = nameValue("foo", "lorem ipsum"); | CODE |
| LOW⚡ | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 77 | var fooValue = nameValue("foo", "lorem ipsum"); | CODE |
| LOW⚡ | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 78 | var barValue = nameValue("bar", "dolor sit amet"); | CODE |
| LOW⚡ | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 88 | var fooValue = nameValue("foo", "lorem ipsum"); | CODE |
| LOW⚡ | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 89 | var barValue = nameValue("bar", "dolor sit amet"); | CODE |
| LOW | …/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java | 101 | var fooValue = new IgnoredSourceFieldMapper.NameValue("parent", 7, new BytesRef("lorem ipsum"), null); | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 55 | doc("foo", "lorem ipsum", "_ignored_source", "dolor sit amet"), | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 55 | doc("foo", "lorem ipsum", "_ignored_source", "dolor sit amet"), | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 64 | var fooValue = new IgnoredSourceFieldMapper.NameValue("foo", 0, new BytesRef("lorem ipsum"), null); | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 78 | doc("_ignored_source", "lorem ipsum"), | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 81 | assertThat(storedFields, hasEntry(equalTo("_ignored_source"), containsInAnyOrder(new BytesRef("lorem ips | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 87 | var fooValue = new IgnoredSourceFieldMapper.NameValue("foo", 0, new BytesRef("lorem ipsum"), null); | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 88 | var barValue = new IgnoredSourceFieldMapper.NameValue("bar", 0, new BytesRef("dolor sit amet"), null); | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 103 | doc("_ignored_source", "lorem ipsum", "_ignored_source", "dolor sit amet"), | CODE |
| LOW⚡ | …csearch/index/fieldvisitor/StoredFieldLoaderTests.java | 103 | doc("_ignored_source", "lorem ipsum", "_ignored_source", "dolor sit amet"), | CODE |
| 173 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/elasticsearch/cluster/routing/GlobalRoutingTable.java | 54 | // Step 1: Iterable over all ShardRouting entries in the nodes and split them by owning project-id | COMMENT |
| LOW | …/elasticsearch/cluster/routing/GlobalRoutingTable.java | 73 | // Step 2: Where necessary, build a new routing table for each project based on the shard routing | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3056 | // Step 1: Set repository generation state to the next possible pending generation | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3143 | // Step 2: Write new index-N blob to repository and update index.latest | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3226 | // Step 3: Update CS to reflect new repository generation. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 74 | // Step 1: directed diversity-pruned edges from kNN neighborhoods + immediate reverse edges. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 99 | // Step 2: re-prune any node whose degree exceeded maxConn due to reverse edges. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 210 | // Step 1: directed diversity-pruned edges among levelNodes. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 225 | // Step 2: symmetrize — for each directed edge i→j, add reverse j→i (global ordinals). | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 237 | // Step 3: re-prune any oversize node. | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 470 | // Step 1: Mass-weighted seed selection — each seed is sampled proportional to | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 475 | // Step 2: Capacity-constrained greedy assignment — single pass, no iteration. | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 480 | // Step 3: Compute size-weighted mean centroid for each meta-cluster. | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 459 | // Step 1: Read packed codes via the scorer (produces raw dot products). | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 466 | // Step 2: Read corrections in SoA order (IndexInput is now past the codes, at the corrections) | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 476 | // Step 3: Apply per-vector corrections and similarity conversion | COMMENT |
| LOW | docs/internal/SystemIndices.md | 110 | ### Step 1: Implement `SystemIndexPlugin` | COMMENT |
| LOW | docs/internal/SystemIndices.md | 136 | ### Step 2: Build a `SystemIndexDescriptor` | COMMENT |
| LOW | docs/internal/SystemIndices.md | 177 | ### Step 3: Register the descriptor | COMMENT |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 56 | ## Step 1: Create an index | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 127 | ## Step 2: Add sample blog posts to your index [full-text-filter-tutorial-index-data] | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 145 | ## Step 3: Basic search operations | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 238 | ## Step 4: Search precision control | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 319 | ## Step 5: Multi-field search and query strings | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 374 | ## Step 6: Filtering and exact matching | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 423 | ## Step 7: Complex search solutions | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 459 | ## Step 8: Semantic search and hybrid search | STRING |
| LOW | …reference/query-languages/esql/esql-search-tutorial.md | 577 | ## Step 9: Advanced AI-powered search | STRING |
| LOW | docs/reference/query-languages/promql/promql-grafana.md | 142 | ### Step 1: Read the panel error [promql-grafana-troubleshooting-read-error] | COMMENT |
| LOW | docs/reference/query-languages/promql/promql-grafana.md | 154 | ### Step 2: Inspect the request and response [promql-grafana-troubleshooting-inspect] | COMMENT |
| LOW | docs/reference/query-languages/promql/promql-grafana.md | 173 | ### Step 3: Decide where the issue belongs [promql-grafana-troubleshooting-decide] | COMMENT |
| LOW | …cs/reference/query-languages/promql/promql-tutorial.md | 55 | ## Step 0: Add sample Prometheus metrics | COMMENT |
| LOW | …cs/reference/query-languages/promql/promql-tutorial.md | 168 | ## Step 1: Run basic PromQL queries with the HTTP API | COMMENT |
| LOW | …cs/reference/query-languages/promql/promql-tutorial.md | 355 | ## Step 2: Process PromQL results with {{esql}} [promql-tutorial-esql] | COMMENT |
| LOW | …cs/reference/query-languages/promql/promql-tutorial.md | 440 | ## Step 3: Connect Prometheus with remote write [promql-tutorial-remote-write] | COMMENT |
| LOW | …nce/scripting-languages/painless/painless-debugging.md | 39 | ### Step 1: Run the failing script | COMMENT |
| LOW | …nce/scripting-languages/painless/painless-debugging.md | 63 | ### Step 2: Analyze the error | STRING |
| LOW | …nce/scripting-languages/painless/painless-debugging.md | 117 | ### Step 3: Use Debug.explain() to understand the problem | STRING |
| LOW | …nce/scripting-languages/painless/painless-debugging.md | 276 | ### Step 4: Fix the script | STRING |
| LOW | …nce/scripting-languages/painless/painless-debugging.md | 300 | ### Step 5: Verify the solution works | STRING |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 684 | // Step 1: combine adjacent byte-pairs into 16-bit values: d0*10+d1, d2*10+d3, ... | COMMENT |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 690 | // Step 2: combine adjacent 16-bit pairs into 32-bit values | COMMENT |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 694 | // Step 3: combine into single 64-bit value | COMMENT |
| LOW⚡ | libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp | 208 | // Step 1: reduce pairs | COMMENT |
| LOW⚡ | libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp | 212 | // Step 2: reduce across 128-bit halves | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 515 | // Step 1: find field "a" | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 526 | // Step 2: walk array to index 2 | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 537 | // Step 3: find field "k" | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 987 | // Step 1: Start our upload and upload the new contents as its unique part. | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 994 | // Step 2: List all uploads that are racing to complete, and compute our position in the list. This definite | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1010 | // Step 3: Ensure all other uploads in currentUploads are complete (either successfully, aborted by us o | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1015 | // Step 4: Read the current register value. Note that getRegister only has read-after-write semantics bu | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1025 | // Step 5: Perform the compare-and-swap by completing our upload iff the witnessed value matches the exp | COMMENT |
| LOW | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1039 | // Step 6: Complete the listener. | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5252 | // Step 1: populate the region (simulates warming — no madvise applied) | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5267 | // Step 2: read from cache with madvise in the reader callback (simulates CacheFileReader.doRead). | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5319 | // Step 1: populate a region and set MADV_RANDOM via the fill handler (simulates .vec file) | COMMENT |
| LOW⚡ | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5335 | // Step 2: evict the region by triggering decay and allocating a new key | COMMENT |
| LOW⚡ | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5340 | // Step 3: populate the reused region (simulates warming for .doc file — no madvise) | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5354 | // Step 4: read with MADV_NORMAL in the reader callback (simulates CacheFileReader.doRead for .doc). | COMMENT |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …st/rest/compat/compat/RestCompatTestTransformTask.java | 484 | // TODO: instead of flattening the FileTree here leverage FileTree.visit() so we can preserve folder hierarchy i | COMMENT |
| MEDIUM | …g/elasticsearch/test/store/MockFSDirectoryFactory.java | 132 | // TODO: make this test robust to virus scanner | COMMENT |
| MEDIUM | …atageneration/matchers/source/DynamicFieldMatcher.java | 96 | * We make the normalisation of double values stricter than {@link SourceTransforms#normalizeValues} to facilitate t | COMMENT |
| MEDIUM | …ation/allocator/DesiredBalanceReconcilerMetricsIT.java | 72 | ClusterRerouteUtils.reroute(client()); // ensure we leverage the latest cluster info | CODE |
| MEDIUM | …a/org/elasticsearch/action/bulk/IncrementalBulkIT.java | 971 | * Filtering by {@link IncrementalBulkService#BULK_SESSION_ACTION} is more robust than checking | COMMENT |
| MEDIUM | …lobstore/BlobStoreRepositoryDeleteThrottlingTests.java | 52 | // a time and would not fully utilize all snapshot threads. This test shows that we do neither of these things. | COMMENT |
| MEDIUM | …apper/RuntimeFieldSourceProviderOptimizationTests.java | 75 | // SourceProvider isn't kicking in. Essentially checking that optimization in | COMMENT |
| MEDIUM | …earch/cluster/metadata/MetadataCreateIndexService.java | 632 | // Essentially, all but .kibana indices, see KibanaPlugin.java. | COMMENT |
| MEDIUM | …earch/lucene/grouping/SinglePassGroupingCollector.java | 288 | // Definitely not competitive. So don't even bother to continue | COMMENT |
| MEDIUM | …earch/lucene/grouping/SinglePassGroupingCollector.java | 291 | // Definitely competitive. | COMMENT |
| MEDIUM | …earch/lucene/grouping/SinglePassGroupingCollector.java | 381 | // Definitely not competitive. | COMMENT |
| MEDIUM | …earch/lucene/grouping/SinglePassGroupingCollector.java | 384 | // Definitely competitive; set remaining comparators: | COMMENT |
| MEDIUM | …search/repositories/blobstore/BlobStoreRepository.java | 1444 | // Definitely indicates something fairly badly wrong with the repo, but not immediately fatal here: | COMMENT |
| MEDIUM | …ch/fetch/subphase/highlight/FastVectorHighlighter.java | 196 | // Essentially we just request that a fragment is built from 0 to noMatchSize using | COMMENT |
| MEDIUM | …odec/vectors/Lucene99ScalarQuantizedVectorsWriter.java | 550 | // We utilize upper & lower here to determine if the new upper and merged upper would | COMMENT |
| MEDIUM | …odec/vectors/Lucene99ScalarQuantizedVectorsWriter.java | 609 | // If we have quantization state, we can utilize that to make merging cheaper | COMMENT |
| MEDIUM | …earch/index/mapper/vectors/DenseVectorFieldMapper.java | 3843 | // By default utilize the quantized oversample if configured | COMMENT |
| MEDIUM | …earch/index/mapper/vectors/DenseVectorFieldMapper.java | 3970 | // By default utilize the quantized oversample is configured | COMMENT |
| MEDIUM | …g/elasticsearch/index/store/LuceneFilesExtensions.java | 36 | // are not mmaping them as queries that leverage positions are more costly and the decoding of postings | COMMENT |
| MEDIUM | …ava/org/elasticsearch/node/ShutdownPrepareService.java | 47 | * This class was created to extract out the logic from {@link Node#prepareForClose()} to facilitate testing. | COMMENT |
| MEDIUM | …search/xpack/vectortile/rest/RestVectorTileAction.java | 216 | // Since we have support for getLabelPosition as a runtime field, we can utilize that here by defining an im | COMMENT |
| MEDIUM | …h/xpack/esql/datasource/grpc/EmployeeFlightServer.java | 251 | // Use FlightServer.close() which provides a robust shutdown sequence: | COMMENT |
| MEDIUM | …earch/xpack/security/authc/saml/SamlAuthenticator.java | 265 | // "past now" that is now - the maximum skew we will tolerate. Essentially "if our clock is 2min fast, what time | COMMENT |
| MEDIUM | …earch/xpack/security/authc/saml/SamlAuthenticator.java | 415 | // - a "future now" that is now + the maximum skew we will tolerate. Essentially "if our clock is 2min slow, wha | COMMENT |
| MEDIUM | …earch/xpack/security/authc/saml/SamlAuthenticator.java | 416 | // - a "past now" that is now - the maximum skew we will tolerate. Essentially "if our clock is 2min fast, what | COMMENT |
| MEDIUM | …search/xpack/downsample/TransportDownsampleAction.java | 907 | // we leverage the NotCopyableOnResize setting property for downsample, because | COMMENT |
| MEDIUM | …xpack/esql/datasource/iceberg/IcebergTableCatalog.java | 49 | // A more robust implementation would check for the presence of metadata directory | COMMENT |
| MEDIUM | …elasticsearch/xpack/ml/integration/DatafeedJobsIT.java | 910 | // the code is robust to it. | COMMENT |
| MEDIUM | …lasticsearch/xpack/ml/aggs/changepoint/StatsTests.java | 317 | // asinhScale is a robust spread (IQR / 1.349). For 1..9 the IQR is 7 - 3 = 4. | COMMENT |
| MEDIUM | …arch/xpack/ml/aggs/changepoint/PulseDetectorTests.java | 185 | // robust scale inflates so they never reach the candidate list. | COMMENT |
| MEDIUM | …org/elasticsearch/xpack/ml/aggs/changepoint/Stats.java | 37 | // Silverman's rule-of-thumb bandwidth on the background, using the robust {@code min(std, IQR/1.349)} | COMMENT |
| MEDIUM | …org/elasticsearch/xpack/ml/aggs/changepoint/Stats.java | 40 | // The numerical floor used by the composite robust scale below. | COMMENT |
| MEDIUM | …ck/ml/aggs/changepoint/StructuralChangeClassifier.java | 349 | // each side's noise with a robust scale: the IQR of its first differences. First-differencing | COMMENT |
| MEDIUM | …ck/ml/aggs/changepoint/StructuralChangeClassifier.java | 352 | // This makes the value channel a robust, full-resolution backstop for a short, strong variance | COMMENT |
| MEDIUM | …ck/ml/aggs/changepoint/StructuralChangeClassifier.java | 373 | // Discount the effective sample size for the variance test. A robust IQR-of-first-differences | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 23 | // Width of the local window used to fit the robust Theil-Sen boundary line that restores the first/last | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 28 | // rolling-median baseline exceeds this many robust sigmas of the residual scale. Generous pre-filter; the | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 64 | * 1. propose a long list of candidates whose residual exceeds {@link #PULSE_Z_THRESHOLD} robust sigmas of | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 86 | // Residual signal and its robust scale. This scale is only the generous pre-filter for the candidate | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 95 | // - a tie-robust movement scale from the IQR of first differences. The median estimator collapses to | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 109 | // invisible to the proposer. Re-residual the boundary points against a robust Theil-Sen line over a local | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 111 | // excursion the robust line ignores gets a large residual and is proposed like any interior point. | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 173 | // keeps it scale-robust, so a huge spike does not mask a moderate one. | COMMENT |
| MEDIUM | …ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java | 188 | // - for a dip). Floored by the robust residual scale so a baseline near zero does not blow the | COMMENT |
| MEDIUM | …pack/ml/aggs/changepoint/StructuralChangeDetector.java | 48 | // not relative to a global median. Cauchy weight scale (in robust-sigma units) with ~2.385 being | COMMENT |
| MEDIUM | …pack/ml/aggs/changepoint/StructuralChangeDetector.java | 58 | // Boundary window for the robust line used to residual the first/last WEIGHT_HALF_WINDOW points | COMMENT |
| MEDIUM | …pack/ml/aggs/changepoint/StructuralChangeDetector.java | 366 | // trends. Re-residual the boundary points against a robust (Theil-Sen) line over a local boundary | COMMENT |
| MEDIUM | …pack/ml/aggs/changepoint/StructuralChangeDetector.java | 368 | // while a spike is an outlier the robust line ignores (large residual, down-weighted). | COMMENT |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM⚡ | …ts/src/javaRestTest/resources/elser_model_2.vocab.json | 1 | {"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[un | CODE |
| MEDIUM | …portUpdateInferenceModelActionSecretRotationTests.java | 324 | // Each validator routes to exactly one of these; we stub all so the test is robust to | COMMENT |
| MEDIUM | …/prometheus/rest/PrometheusSeriesResponseListener.java | 134 | // Use xcontent for robust parsing | COMMENT |
| LOW | …asticsearch/xpack/esql/io/stream/PlanStreamOutput.java | 49 | * is slow. And so is {@link Object#equals}. So, instead we just use | COMMENT |
| LOW | …sql/expression/function/fulltext/FullTextFunction.java | 725 | // wrong if `fieldAttribute` is a subfield, e.g. `parent.child` - EsField#getName will just return `child`. | COMMENT |
| MEDIUM | …/xpack/esql/datasource/s3/S3DataSourcePluginTests.java | 76 | // A mock watcher keeps the test robust even on a host that happens to export the EKS env vars: | COMMENT |
| MEDIUM | …ess/cluster/coordination/BlobStoreSyncDirectoryIT.java | 70 | // corresponding plugins are closed. Fundamentally, they are still similar to GCS since both all three blob stor | COMMENT |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …earch/snapshots/DedicatedClusterSnapshotRestoreIT.java | 315 | // After it was marked as completed in the cluster state - we need to check if it's completed on the file sy | COMMENT |
| LOW | …/elasticsearch/cluster/routing/GlobalRoutingTable.java | 54 | // Step 1: Iterable over all ShardRouting entries in the nodes and split them by owning project-id | COMMENT |
| LOW | …/elasticsearch/cluster/routing/GlobalRoutingTable.java | 73 | // Step 2: Where necessary, build a new routing table for each project based on the shard routing | COMMENT |
| LOW | …arch/cluster/metadata/IndexNameExpressionResolver.java | 2299 | // We need to check if there was a selector present, and validate if it was allowed | COMMENT |
| LOW | …icsearch/persistent/PersistentTasksClusterService.java | 603 | // We need to check if removed nodes were running any of the tasks and reassign them | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3056 | // Step 1: Set repository generation state to the next possible pending generation | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3143 | // Step 2: Write new index-N blob to repository and update index.latest | COMMENT |
| LOW | …search/repositories/blobstore/BlobStoreRepository.java | 3226 | // Step 3: Update CS to reflect new repository generation. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 74 | // Step 1: directed diversity-pruned edges from kNN neighborhoods + immediate reverse edges. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 99 | // Step 2: re-prune any node whose degree exceeded maxConn due to reverse edges. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 210 | // Step 1: directed diversity-pruned edges among levelNodes. | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 225 | // Step 2: symmetrize — for each directed edge i→j, add reverse j→i (global ordinals). | COMMENT |
| LOW | …a/org/elasticsearch/index/codec/vectors/HnswUtils.java | 237 | // Step 3: re-prune any oversize node. | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 470 | // Step 1: Mass-weighted seed selection — each seed is sampled proportional to | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 475 | // Step 2: Capacity-constrained greedy assignment — single pass, no iteration. | COMMENT |
| LOW⚡ | …ch/index/codec/vectors/cluster/HierarchicalKMeans.java | 480 | // Step 3: Compute size-weighted mean centroid for each meta-cluster. | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 459 | // Step 1: Read packed codes via the scorer (produces raw dot products). | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 466 | // Step 2: Read corrections in SoA order (IndexInput is now past the codes, at the corrections) | COMMENT |
| LOW⚡ | …search/index/codec/vectors/ash/AshPostingsVisitor.java | 476 | // Step 3: Apply per-vector corrections and similarity conversion | COMMENT |
| LOW | …asticsearch/reservedstate/ActionWithReservedState.java | 29 | * We need to check if certain settings or entities are allowed to be modified by the master node | COMMENT |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 684 | // Step 1: combine adjacent byte-pairs into 16-bit values: d0*10+d1, d2*10+d3, ... | COMMENT |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 690 | // Step 2: combine adjacent 16-bit pairs into 32-bit values | COMMENT |
| LOW⚡ | …a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java | 694 | // Step 3: combine into single 64-bit value | COMMENT |
| LOW⚡ | libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp | 208 | // Step 1: reduce pairs | COMMENT |
| LOW⚡ | libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp | 212 | // Step 2: reduce across 128-bit halves | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 515 | // Step 1: find field "a" | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 526 | // Step 2: walk array to index 2 | COMMENT |
| LOW | …t/provider/json/JsonXContentParserByteOffsetTests.java | 537 | // Step 3: find field "k" | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 987 | // Step 1: Start our upload and upload the new contents as its unique part. | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 994 | // Step 2: List all uploads that are racing to complete, and compute our position in the list. This definite | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1010 | // Step 3: Ensure all other uploads in currentUploads are complete (either successfully, aborted by us o | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1015 | // Step 4: Read the current register value. Note that getRegister only has read-after-write semantics bu | COMMENT |
| LOW⚡ | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1025 | // Step 5: Perform the compare-and-swap by completing our upload iff the witnessed value matches the exp | COMMENT |
| LOW | …org/elasticsearch/repositories/s3/S3BlobContainer.java | 1039 | // Step 6: Complete the listener. | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5252 | // Step 1: populate the region (simulates warming — no madvise applied) | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5267 | // Step 2: read from cache with madvise in the reader callback (simulates CacheFileReader.doRead). | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5319 | // Step 1: populate a region and set MADV_RANDOM via the fill handler (simulates .vec file) | COMMENT |
| LOW⚡ | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5335 | // Step 2: evict the region by triggering decay and allocating a new key | COMMENT |
| LOW⚡ | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5340 | // Step 3: populate the reused region (simulates warming for .doc file — no madvise) | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5354 | // Step 4: read with MADV_NORMAL in the reader callback (simulates CacheFileReader.doRead for .doc). | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5407 | // Step 1: populate the region (simulates warming — no madvise applied) | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5422 | // Step 2: use the tryRead fast path with MADV_RANDOM | COMMENT |
| LOW | …arch/blobcache/shared/SharedBlobCacheServiceTests.java | 5433 | // Step 3: verify the advice was applied by reading again via populateAndRead | COMMENT |
| LOW⚡ | …search/xpack/watcher/WatcherLifeCycleServiceTests.java | 324 | // Step 1: validate() returns false (e.g. index not ready) → state driven to STOPPED | COMMENT |
| LOW⚡ | …search/xpack/watcher/WatcherLifeCycleServiceTests.java | 330 | // Step 2: same routing, validate() now returns true → STOPPED→STARTING, start(CS_S). | COMMENT |
| LOW⚡ | …search/xpack/watcher/WatcherLifeCycleServiceTests.java | 338 | // Step 3: replica becomes STARTED while start() is still in flight. | COMMENT |
| LOW⚡ | …search/xpack/watcher/WatcherLifeCycleServiceTests.java | 348 | // Step 4: start()'s success callback fires (reloadInner completes). It must advance state | COMMENT |
| LOW | …sticsearch/xpack/security/authc/pki/PkiRealmTests.java | 694 | // Step 1: delete the CA file — onFileDeleted fires, reload fails, old TM is preserved | STRING |
| LOW | …sticsearch/xpack/security/authc/pki/PkiRealmTests.java | 709 | // Step 2: create a new file at the same path — onFileCreated fires, reload succeeds | STRING |
| LOW⚡ | …rg/elasticsearch/xpack/ml/MlInitializationService.java | 204 | // Step 5: Handle errors encountered on the way. | COMMENT |
| LOW⚡ | …rg/elasticsearch/xpack/ml/MlInitializationService.java | 213 | // Step 4: Extract ML internal aliases that are not hidden and make them hidden. | COMMENT |
| LOW | …rg/elasticsearch/xpack/ml/MlInitializationService.java | 240 | // Step 3: Once indices are hidden, fetch ML internal aliases to find out whether the aliases are hidden or not. | COMMENT |
| LOW | …rg/elasticsearch/xpack/ml/MlInitializationService.java | 252 | // Step 2: Extract ML internal indices that are not hidden and make them hidden. | COMMENT |
| LOW | …rg/elasticsearch/xpack/ml/MlInitializationService.java | 273 | // Step 1: Fetch ML internal indices settings to find out whether they are already hidden or not. | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 300 | // Step 6: Roll over state indices | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 303 | // Step 5: Roll over results indices | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 308 | // Step 4: Delete expired data | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 313 | // Step 3: Close idle jobs with stopped datafeeds | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 318 | // Step 2: Reset jobs that are in resetting state without a task | COMMENT |
| LOW⚡ | …/elasticsearch/xpack/ml/MlDailyMaintenanceService.java | 323 | // Step 1: Delete jobs that are in deleting state without a task | COMMENT |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .buildkite/pipelines/agentic-workflow.yml | 45 | # ── Run archimedes ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .buildkite/scripts/smart-retry/test-local-flow.sh | 2 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | .buildkite/scripts/smart-retry/test-local-flow.sh | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …/user-agent/src/test/resources/test-mobile-devices.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 19 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 21 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 38 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 40 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 58 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 60 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 71 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 73 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 151 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ules/user-agent/src/test/resources/test-bot-agents.yml | 153 | # ------------------------------------------------------------------- | COMMENT |
| MEDIUM | …s/user-agent/src/test/resources/test-robot-devices.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …/user-agent/src/test/resources/test-tablet-devices.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …user-agent/src/test/resources/test-desktop-devices.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …s/user-agent/src/test/resources/test-other-devices.yml | 2 | # =========================== | COMMENT |
| MEDIUM | modules/user-agent/src/main/resources/regexes.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …/user-agent/src/main/resources/device_type_regexes.yml | 2 | # =========================== | COMMENT |
| MEDIUM | …/mustache/TransportMultiSearchTemplateActionTests.java | 71 | // ── Helper circuit breakers ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/mustache/TransportMultiSearchTemplateActionTests.java | 244 | // ── Helper factories ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …/mustache/TransportMultiSearchTemplateActionTests.java | 329 | // ── Tests ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rch/xpack/security/cli/certutil-http/kibana-sample.yml | 11 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …rch/xpack/security/cli/certutil-http/kibana-sample.yml | 21 | #------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 150 | // ─── Conformance: passthrough view must agree with direct index query ──────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 250 | // ─── Stats view: filter on computed field must work ───────────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 296 | // ─── Mixed view+index queries ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 468 | // ─── Views ending in KEEP ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 503 | // ─── Views whose body already branches ─────────────────────────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 626 | // ─── Views vs user-written subqueries ──────────────────────────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 711 | // ─── Unsupported DSL construct is dropped with a warning ───────────────────── | COMMENT |
| MEDIUM | …asticsearch/xpack/esql/action/ViewRequestFilterIT.java | 749 | // ─── View + FORK ────────────────────────────────────────────────────────────── | STRING |
| MEDIUM | …csearch/xpack/esql/action/ViewSubqueryUnionTypeIT.java | 187 | // ─── helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java | 39 | // ── Same-side left filter (error) ───────────────────────────────────────── | COMMENT |
| MEDIUM | …nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java | 55 | // ── Right-side-only filter, KEEP mapped field (succeeds) ────────────────── | COMMENT |
| MEDIUM | …nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java | 105 | // ── Right-side-only filter, KEEP unmapped field (succeeds / errors) ─────── | COMMENT |
| MEDIUM | …nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java | 159 | // ── Cross-side comparison ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java | 190 | // ── Nonexistent field in ON expression (error) ──────────────────────────── | COMMENT |
| MEDIUM | …ck/esql/optimizer/LocalPhysicalPlanOptimizerTests.java | 3734 | // ── date_range pushdown tests ────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ticsearch/xpack/esql/plugin/SubPlansExecutorTests.java | 778 | // ── profile ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rch/xpack/esql/datasources/QueryConcurrencyBudget.java | 449 | // ── RowGroupScheduler ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rch/xpack/esql/datasources/QueryConcurrencyBudget.java | 535 | // ── grant policy ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …rch/xpack/esql/datasources/QueryConcurrencyBudget.java | 741 | // ── test accessors ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java | 209 | // ── Failing shapes: bucket hidden, object name visible ─────────────────────────────────── | COMMENT |
| MEDIUM | …k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java | 265 | // ── Profile: neither user sees the bucket name anywhere in the response ───────────────── | COMMENT |
| MEDIUM | …k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java | 346 | // ── Helpers ────────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …l/datasource/s3/S3AddressingStyleInterceptorTests.java | 55 | // ── endpoint absent ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …l/datasource/s3/S3AddressingStyleInterceptorTests.java | 73 | // ── endpoint present (named host) ───────────────────────────────────────── | COMMENT |
| MEDIUM | …l/datasource/s3/S3AddressingStyleInterceptorTests.java | 91 | // ── helpers ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …k/logsdb/patterntext/PatternTextUtf8SplitterTests.java | 321 | // ── Zero-copy fast paths ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 89 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 110 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 112 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 149 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 151 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 206 | # =========================================================================== | COMMENT |
| MEDIUM | build-tools/gradle-runner/test-runner.sh | 208 | # =========================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .ci/matrix-runtime-javas.yml | 1 | # This file is used as part of a matrix build in Jenkins where the | COMMENT |
| MEDIUM | .ci/matrix-runtime-javas-fips.yml | 1 | # This file is used as part of a matrix build in Jenkins where the | COMMENT |
| MEDIUM | …esources/rest-api-spec/test/multi_cluster/100_tsdb.yml | 3 | # Create a local tsdb index with a tsid the doesn't overlap with the remote cluster. | COMMENT |
| MEDIUM | …-spec/test/synonyms/91_multiple_synsets_per_filter.yml | 24 | # Create an index with a filter referencing both synonym sets | COMMENT |
| MEDIUM | …rest-api-spec/test/synonyms/80_synonyms_from_index.yml | 5 | # Create a new synonyms set | COMMENT |
| MEDIUM | …rest-api-spec/test/synonyms/80_synonyms_from_index.yml | 16 | # Create an index with synonym_filter that uses that synonyms set | COMMENT |
| MEDIUM | …t-api-spec/test/repositories/10_default_repository.yml | 175 | # Create a read-only repository | COMMENT |
| MEDIUM | …c/test/search.vectors/172_knn_query_base64_vectors.yml | 407 | # Create an index with dynamic dimensions (dims not specified) and no documents | COMMENT |
| MEDIUM | …t/indices.resolve_index/25_resolve_index_with_mode.yml | 20 | # Create a standard index | COMMENT |
| MEDIUM | …t/indices.resolve_index/25_resolve_index_with_mode.yml | 29 | # Create a time-series index | COMMENT |
| MEDIUM | …indices.resolve_index/30_resolve_index_mode_filter.yml | 13 | # Create a time-series index | COMMENT |
| MEDIUM | …indices.resolve_index/30_resolve_index_mode_filter.yml | 36 | # Create a lookup index | COMMENT |
| MEDIUM | .buildkite/pipelines/intake.yml | 1 | # This file is auto-generated. See .buildkite/pipelines/intake.template.yml | COMMENT |
| MEDIUM | .buildkite/pipelines/periodic.yml | 1 | # This file is auto-generated. See .buildkite/pipelines/periodic.template.yml | COMMENT |
| MEDIUM | .buildkite/pipelines/periodic-java-ea.yml | 1 | # This file is auto-generated. See .buildkite/pipelines/periodic-java-ea.template.yml | COMMENT |
| MEDIUM | .buildkite/pipelines/periodic-packaging.yml | 1 | # This file is auto-generated. See .buildkite/pipelines/periodic-packaging.template.yml | COMMENT |
| MEDIUM | .buildkite/pipelines/periodic-fwc.yml | 1 | # This file is auto-generated. See .buildkite/pipelines/periodic-fwc.template.yml | COMMENT |
| MEDIUM | …sources/rest-api-spec/test/repository_url/10_basic.yml | 37 | # Create a first snapshot using the FS repository | COMMENT |
| MEDIUM | …sources/rest-api-spec/test/repository_url/10_basic.yml | 66 | # Create a second snapshot | COMMENT |
| MEDIUM | …test/ingest/350_recover_failure_document_processor.yml | 24 | # Create a pipeline that will cause mapping failures | COMMENT |
| MEDIUM | …test/ingest/350_recover_failure_document_processor.yml | 35 | # Create a remediation-pipeline with the recover_failure_document processor | COMMENT |
| MEDIUM | …test/ingest/350_recover_failure_document_processor.yml | 68 | # Create the data stream by indexing a document | COMMENT |
| MEDIUM | …urces/rest-api-spec/test/ingest/25_pipeline_limits.yml | 78 | # Create a pipeline first, under the default (high) limit, then lower the cap below the current count. This keeps the | COMMENT |
| MEDIUM | …es/rest-api-spec/test/repository_gcs/20_repository.yml | 65 | # Create a first snapshot | COMMENT |
| MEDIUM | …es/rest-api-spec/test/repository_gcs/20_repository.yml | 114 | # Create a second snapshot | COMMENT |
| MEDIUM | …/rest-api-spec/test/repository_azure/20_repository.yml | 65 | # Create a first snapshot | COMMENT |
| MEDIUM | …/rest-api-spec/test/repository_azure/20_repository.yml | 114 | # Create a second snapshot | COMMENT |
| MEDIUM | …lasticsearch/xpack/security/cli/AutoConfigureNode.java | 782 | bw.write("# Create a new cluster with the current node only"); | CODE |
| MEDIUM | …ch/search/56_search_application_search_with_apikey.yml | 344 | # Creating an API key which can only search 'test-search-application-1' | COMMENT |
| MEDIUM | …c/test/inference/70_text_similarity_rank_retriever.yml | 335 | # Create an empty index that will have an earlier shard index than the index with the desired result when referenced | COMMENT |
| MEDIUM | …common/src/main/resources/test_queries_date_nanos.toml | 1 | # This file is populated with additional EQL queries regarding date tests that were not present in the original EQL pyth | COMMENT |
| MEDIUM | …common/src/main/resources/additional_test_queries.toml | 1 | # This file is populated with additional EQL queries that were not present in the original EQL python implementation | COMMENT |
| MEDIUM | …ql/qa/common/src/main/resources/test_queries_date.toml | 1 | # This file is populated with additional EQL queries regarding date tests that were not present in the original EQL pyth | COMMENT |
| MEDIUM | …RestTest/resources/rest-api-spec/test/ilm/10_basic.yml | 438 | # Create a policy with rollover but without max_size | COMMENT |
| MEDIUM | …ram/30_aggregate_metric_aggregations_compatibility.yml | 6 | # Create an index template for the data stream with aggregate_metric_double field | COMMENT |
| MEDIUM | …ram/30_aggregate_metric_aggregations_compatibility.yml | 23 | # Create the data stream | COMMENT |
| MEDIUM | …am/40_tdigest_histogram_aggregations_compatibility.yml | 5 | # Create an index template for the data stream with histogram field | COMMENT |
| MEDIUM | …am/40_tdigest_histogram_aggregations_compatibility.yml | 18 | # Create the data stream | COMMENT |
| MEDIUM | …est/resources/rest-api-spec/test/columnar/10_usage.yml | 140 | # Create a DLM-managed columnar data stream | COMMENT |
| MEDIUM | …est/resources/rest-api-spec/test/columnar/10_usage.yml | 163 | # Create an ILM-managed columnar data stream | COMMENT |
| MEDIUM | …est/resources/rest-api-spec/test/columnar/10_usage.yml | 195 | # Create an unmanaged columnar data stream | COMMENT |
| MEDIUM | …t/resources/rest-api-spec/test/terms_enum/10_basic.yml | 665 | # Create an API key with all DLS permissions, but it is still bounded by the owner user's permissions | COMMENT |
| MEDIUM | …s/rest-api-spec/test/security/authz/15_auto_create.yml | 70 | # Create the logs-barbaz with the superuser | COMMENT |
| MEDIUM | …ources/rest-api-spec/test/logsdb_columnar/10_usage.yml | 139 | # Create a DLM-managed logsdb_columnar data stream | COMMENT |
| MEDIUM | …ources/rest-api-spec/test/logsdb_columnar/10_usage.yml | 162 | # Create an unmanaged logsdb_columnar data stream | COMMENT |
| MEDIUM | …ources/rest-api-spec/test/logsdb_columnar/10_usage.yml | 211 | # Create an ILM-managed logsdb_columnar data stream | COMMENT |
| MEDIUM | …ources/rest-api-spec/test/logsdb_columnar/10_usage.yml | 243 | # Create an unmanaged logsdb_columnar data stream | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …csearch/transport/AbstractSimpleTransportTestCase.java | 2146 | class TestRequestHandler implements TransportRequestHandler<TestRequest> { | CODE |
| LOW | …csearch/transport/AbstractSimpleTransportTestCase.java | 2224 | class TestResponseHandler implements TransportResponseHandler<TestResponse> { | CODE |
| LOW | …g/elasticsearch/http/ResponseInjectingHttpHandler.java | 73 | public static class FixedRequestHandler implements RequestHandler { | CODE |
| LOW | …st/java/org/elasticsearch/action/IndicesRequestIT.java | 747 | private class InterceptingRequestHandler<T extends TransportRequest> implements TransportRequestHandler<T> { | CODE |
| LOW | …ticsearch/cluster/coordination/LeaderCheckerTests.java | 557 | private static class CapturingTransportResponseHandler implements TransportResponseHandler<ActionResponse.Empty> { | CODE |
| LOW | …va/org/elasticsearch/tasks/BanFailureLoggingTests.java | 220 | private static class ChildResponseHandler extends TransportResponseHandler.Empty { | CODE |
| LOW | …a/org/elasticsearch/transport/InboundHandlerTests.java | 734 | private abstract static class CapturingResponseHandler implements TransportResponseHandler<TestResponse> { | CODE |
| LOW | …rg/elasticsearch/cluster/coordination/Publication.java | 361 | private class PublishResponseHandler implements ActionListener<PublishWithJoinResponse> { | CODE |
| LOW | …rg/elasticsearch/cluster/coordination/Publication.java | 432 | private class ApplyCommitResponseHandler implements ActionListener<Void> { | CODE |
| LOW | …rch/cluster/coordination/CleanableResponseHandler.java | 24 | public class CleanableResponseHandler<T extends TransportResponse> extends ActionListenerResponseHandler<T> { | CODE |
| LOW | …a/org/elasticsearch/tasks/TaskCancellationService.java | 350 | private class BanParentRequestHandler implements TransportRequestHandler<BanParentTaskRequest> { | CODE |
| LOW | …a/org/elasticsearch/tasks/TaskCancellationService.java | 409 | private class CancelChildRequestHandler implements TransportRequestHandler<CancelChildRequest> { | CODE |
| LOW | …search/indices/recovery/PeerRecoveryTargetService.java | 527 | class HandoffPrimaryContextRequestHandler implements TransportRequestHandler<RecoveryHandoffPrimaryContextRequest> { | CODE |
| LOW | …search/indices/recovery/PeerRecoveryTargetService.java | 559 | private class TranslogOperationsRequestHandler extends RecoveryRequestHandler<RecoveryTranslogOperationsRequest> { | CODE |
| LOW | …search/indices/recovery/PeerRecoveryTargetService.java | 642 | private abstract class RecoveryRequestHandler<T extends RecoveryTransportRequest> implements TransportRequestHandler | CODE |
| LOW | …search/indices/recovery/PeerRecoveryTargetService.java | 667 | private class FileChunkTransportRequestHandler extends RecoveryRequestHandler<RecoveryFileChunkRequest> { | CODE |
| LOW | …search/indices/recovery/PeerRecoveryTargetService.java | 738 | private class RecoveryResponseHandler implements TransportResponseHandler<RecoveryResponse> { | CODE |
| LOW | …java/org/elasticsearch/indices/store/IndicesStore.java | 266 | private class ShardActiveResponseHandler implements TransportResponseHandler<ShardActiveResponse> { | CODE |
| LOW | …java/org/elasticsearch/indices/store/IndicesStore.java | 368 | private class ShardActiveRequestHandler implements TransportRequestHandler<ShardActiveRequest> { | CODE |
| LOW | …g/elasticsearch/transport/SniffConnectionStrategy.java | 267 | private class RemoteClusterNodesSniffResponseHandler extends AbstractSniffResponseHandler<RemoteClusterNodesAction.R | CODE |
| LOW | …g/elasticsearch/transport/SniffConnectionStrategy.java | 287 | private class ClusterStateSniffResponseHandler extends AbstractSniffResponseHandler<ClusterStateResponse> { | CODE |
| LOW | …g/elasticsearch/transport/SniffConnectionStrategy.java | 308 | private abstract class AbstractSniffResponseHandler<T extends TransportResponse> implements TransportResponseHandler | CODE |
| LOW | …a/org/elasticsearch/transport/TransportHandshaker.java | 285 | private class HandshakeResponseHandler implements TransportResponseHandler<HandshakeResponse> { | CODE |
| LOW | …java/org/elasticsearch/transport/TransportService.java | 1660 | public static final class ContextRestoreResponseHandler<T extends TransportResponse> implements TransportResponseHan | CODE |
| LOW | …/org/elasticsearch/transport/TransportActionProxy.java | 37 | private static class ProxyRequestHandler<T extends ProxyRequest<TransportRequest>> implements TransportRequestHandle | CODE |
| LOW | …lasticsearch/action/ActionListenerResponseHandler.java | 26 | public class ActionListenerResponseHandler<Response extends TransportResponse> implements TransportResponseHandler<Respo | CODE |
| LOW | …elasticsearch/action/search/TransportSearchAction.java | 1195 | static final class RemoteResponseHandler extends ActionListenerResponseHandler<SearchResponse> { | CODE |
| LOW | …arch/action/search/TransportOpenPointInTimeAction.java | 625 | private class ShardOpenReaderRequestHandler implements TransportRequestHandler<ShardOpenReaderRequest> { | CODE |
| LOW | …ort/broadcast/node/TransportBroadcastByNodeAction.java | 410 | class BroadcastByNodeTransportRequestHandler implements TransportRequestHandler<NodeRequest> { | CODE |
| LOW | …elasticsearch/gateway/LocalAllocateDangledIndices.java | 100 | class AllocateDangledRequestHandler implements TransportRequestHandler<AllocateDangledRequest> { | CODE |
| LOW | …ch/http/netty4/Netty4IncrementalRequestHandlingIT.java | 933 | static class ServerRequestHandler implements BaseRestHandler.RequestBodyChunkConsumer { | STRING |
| LOW | …ain/resources/org/elasticsearch/painless/java.util.txt | 142 | def getOrDefault(def,def) | CODE |
| LOW | …earch/client/sniff/ElasticsearchNodesSnifferTests.java | 157 | private static class ResponseHandler implements HttpHandler { | CODE |
| LOW | …/elasticsearch/client/RestClientBuilderIntegTests.java | 75 | private static class ResponseHandler implements HttpHandler { | CODE |
| LOW | …icsearch/client/RestClientMultipleHostsIntegTests.java | 153 | private static class ResponseHandler implements HttpHandler { | CODE |
| LOW | …asticsearch/client/RestClientSingleHostIntegTests.java | 129 | private static class ResponseHandler implements HttpHandler { | CODE |
| LOW | …asticsearch/client/RestClientGzipCompressionTests.java | 68 | private static class GzipResponseHandler implements HttpHandler { | CODE |
| LOW | …rity/transport/SecurityServerTransportInterceptor.java | 267 | public static class ProfileSecuredRequestHandler<T extends TransportRequest> implements TransportRequestHandler<T> { | CODE |
| LOW | …authc/saml/DefaultSamlAuthenticateResponseHandler.java | 22 | public final class DefaultSamlAuthenticateResponseHandler implements SamlAuthenticateResponseHandler { | CODE |
| LOW | …ack/security/authc/saml/SamlLogoutResponseHandler.java | 19 | public class SamlLogoutResponseHandler extends SamlResponseHandler { | CODE |
| LOW | …pack/security/authc/saml/SamlLogoutRequestHandler.java | 28 | public class SamlLogoutRequestHandler extends SamlObjectHandler { | CODE |
| LOW | …rch/xpack/security/authc/saml/SamlResponseHandler.java | 24 | public class SamlResponseHandler extends SamlObjectHandler { | CODE |
| LOW | …external/http/retry/AlwaysRetryingResponseHandler.java | 26 | public class AlwaysRetryingResponseHandler implements ResponseHandler { | CODE |
| LOW | …nal/http/retry/ChatCompletionErrorResponseHandler.java | 23 | public class ChatCompletionErrorResponseHandler { | CODE |
| LOW | …inference/external/http/retry/BaseResponseHandler.java | 26 | public abstract class BaseResponseHandler implements ResponseHandler { | CODE |
| LOW | …i/embeddings/OpenShiftAiEmbeddingsResponseHandler.java | 18 | public class OpenShiftAiEmbeddingsResponseHandler extends OpenAiResponseHandler { | CODE |
| LOW | …i/completion/OpenShiftAiCompletionResponseHandler.java | 17 | public class OpenShiftAiCompletionResponseHandler extends OpenAiCompletionResponseHandler { | CODE |
| LOW | …mpletion/OpenShiftAiChatCompletionResponseHandler.java | 19 | public class OpenShiftAiChatCompletionResponseHandler extends OpenAiUnifiedChatCompletionResponseHandler { | CODE |
| LOW | …e/services/fireworksai/FireworksAiResponseHandler.java | 22 | public class FireworksAiResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …ference/services/voyageai/VoyageAIResponseHandler.java | 21 | public class VoyageAIResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …k/inference/services/cohere/CohereResponseHandler.java | 34 | public class CohereResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …k/inference/services/jinaai/JinaAIResponseHandler.java | 21 | public class JinaAIResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …services/contextualai/ContextualAiResponseHandler.java | 20 | public class ContextualAiResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …/ElasticInferenceServiceCompletionResponseHandler.java | 33 | public class ElasticInferenceServiceCompletionResponseHandler extends ElasticInferenceServiceResponseHandler { | CODE |
| LOW | …es/elastic/ElasticInferenceServiceResponseHandler.java | 20 | public class ElasticInferenceServiceResponseHandler extends BaseResponseHandler { | CODE |
| LOW | …erenceServiceUnifiedChatCompletionResponseHandler.java | 41 | public class ElasticInferenceServiceUnifiedChatCompletionResponseHandler extends ElasticInferenceServiceResponseHandler | CODE |
| LOW | …on/ElasticInferenceServiceDecisionResponseHandler.java | 17 | public class ElasticInferenceServiceDecisionResponseHandler extends ElasticInferenceServiceResponseHandler { | CODE |
| LOW | …lasticInferenceServiceAuthorizationRequestHandler.java | 47 | public class ElasticInferenceServiceAuthorizationRequestHandler { | CODE |
| LOW | …e/services/azureopenai/AzureOpenAiResponseHandler.java | 19 | public class AzureOpenAiResponseHandler extends OpenAiResponseHandler { | CODE |
| LOW | …esponse/AzureMistralOpenAiExternalResponseHandler.java | 36 | public class AzureMistralOpenAiExternalResponseHandler extends BaseResponseHandler { | CODE |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | catalog-info.yaml | 571 | url: https://buildkite.com/elastic/elasticsearch-agentic-workflow | CODE |
| MEDIUM | docs/reference/ingest-processor/inference-processor.md | 515 | ## Zero shot classification configuration options [inference-processor-zero-shot-opt] | COMMENT |
| MEDIUM | .github/workflows/trigger-bug-analysis.yml | 109 | --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \ | CODE |
| MEDIUM | .github/workflows/trigger-test-analysis.yml | 115 | --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \ | CODE |
| MEDIUM | .github/workflows/review-test-analysis.yml | 96 | --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \ | CODE |
| MEDIUM | .github/workflows/review-bug-analysis.yml | 96 | --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \ | CODE |
| MEDIUM | .buildkite/pipelines/agentic-workflow.yml | 4 | # elasticsearch-agentic-workflow | COMMENT |
| MEDIUM | .buildkite/pipelines/agentic-workflow.yml | 6 | # On-demand agentic CI workflows powered by the self-contained archimedes CLI | COMMENT |
| MEDIUM | .buildkite/pipelines/agentic-workflow.yml | 23 | # curl -X POST ".../pipelines/elasticsearch-agentic-workflow/builds" \ | COMMENT |
| MEDIUM⚡ | .buildkite/pipelines/flakiness-detection-manual.yml | 14 | # runs. Read by flakinessScan in the orchestration step, | COMMENT |
| MEDIUM⚡ | .buildkite/pipelines/flakiness-detection-manual.yml | 18 | # flakiness-refs.json and uploads TWO steps: an orchestration step (resolve → compile → scan on a single | COMMENT |
| MEDIUM⚡ | .buildkite/pipelines/flakiness-detection-manual.yml | 22 | # Topology: bootstrap → [orchestration (gradle agent) + generate (node agent)] → batch + analyze. | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 5 | # orchestrates the sub-pipeline upload (it runs no Gradle tests). Opt out so | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 13 | # flakiness-refs.json, then dynamically upload TWO steps: an orchestration step | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 16 | # generate step reads the plan the orchestration step shipped and uploads the batch + | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 21 | # Topology: bootstrap → [orchestration (gradle agent) + generate (node agent)] → batch + analyze. | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 23 | # Keyed under flakiness-orchestration:, never flakiness-detection: - an external metric predicate | COMMENT |
| MEDIUM⚡ | …ildkite/pipelines/pull-request/flakiness-detection.yml | 33 | # Uploaded so the orchestration step (fresh agent) can download it. The orchestration step and | COMMENT |
| MEDIUM | .buildkite/scripts/archimedes-env.sh | 4 | # provision secrets for the elasticsearch-agentic-workflow pipeline. | COMMENT |
| MEDIUM⚡ | .buildkite/scripts/archimedes-env.sh | 18 | # Defense-in-depth pipeline gate: only the agentic-workflow pipeline may read | COMMENT |
| MEDIUM⚡ | .buildkite/scripts/archimedes-env.sh | 19 | # the agentic-workflows secrets. Any other pipeline setting USE_ARCHIMEDES=true | COMMENT |
| MEDIUM⚡ | .buildkite/scripts/archimedes-env.sh | 20 | # fails again here before the first agentic-workflows vault access. | COMMENT |
| MEDIUM | …ite/scripts/flakiness-detection/runners/orchestrate.sh | 3 | # The flakiness orchestration step: resolve -> compile -> scan, sequentially on ONE gradle agent, because | COMMENT |
| MEDIUM | …t-api-spec/test/ml/search_knn_query_vector_builder.yml | 1 | # This test uses the same text embedding model from `text_embedding_search-yml` | COMMENT |
| MEDIUM | …ources/rest-api-spec/test/ml/text_embedding_search.yml | 1 | # This test uses the simple text embedding model from | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cs/reference/query-languages/promql/promql-tutorial.md | 42 | export API_KEY="your-api-key" | CODE |
| HIGH⚡ | …-connectors/es-postgresql-connector-client-tutorial.md | 86 | api_key: "<YOUR-API-KEY>" # Your top-level Elasticsearch API key | CODE |
| HIGH⚡ | …-connectors/es-postgresql-connector-client-tutorial.md | 86 | api_key: "<YOUR-API-KEY>" # Your top-level Elasticsearch API key | CODE |
| HIGH⚡ | …-connectors/es-postgresql-connector-client-tutorial.md | 91 | api_key: "<YOUR-API-KEY>" # Your scoped connector index API key (optional). If not provided, the top-level API k | CODE |
| HIGH⚡ | …-connectors/es-postgresql-connector-client-tutorial.md | 91 | api_key: "<YOUR-API-KEY>" # Your scoped connector index API key (optional). If not provided, the top-level API k | CODE |
| HIGH | …ce/services/tencentcloud/TencentCloudServiceTests.java | 116 | "description": "The TencentCloud AI Gateway API key. Contact the administrator to obtain | CODE |
| HIGH | …ference/services/tencentcloud/TencentCloudService.java | 402 | "The TencentCloud AI Gateway API key. Contact the administrator to obtain a token in the format | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …sticsearch/indices/recovery/RecoverySourceHandler.java | 934 | // existing lease we (approximately) know that all our peers are also retaining history as requested by the | COMMENT |
| HIGH | …java/org/elasticsearch/snapshots/SnapshotsService.java | 459 | /// Clone a snapshot as requested by the given [CloneSnapshotRequest]. | COMMENT |
| HIGH | …a/org/elasticsearch/ingest/common/DateFormatTests.java | 124 | // this means that hour will be 01:00 at -02:00 as timezone on a pattern. Converted to -01:00 as requested on in | COMMENT |
| HIGH | …ck/profiling/action/TransportGetStackTracesAction.java | 446 | // we can have up to 2x more events in the response as requested by the user. | COMMENT |
| HIGH | …org/elasticsearch/xpack/esql/action/FromDatasetIT.java | 5470 | // exclusion carries no wildcard of its own, so a concrete index counts as requested and a pattern | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dle/internal/precommit/ValidateJsonNoKeywordsTask.java | 56 | * The keywords are defined in a JSON file, although it's worth noting that what is and isn't a | COMMENT |
| LOW | distribution/src/config/elasticsearch.yml | 4 | # Before you set out to tweak and tune the configuration, make sure you | COMMENT |
| LOW | …/search/fetch/subphase/highlight/HighlightBuilder.java | 449 | * the named field. If you provide a list of fields here then don't forget to include name as | COMMENT |
| LOW | …ty/action/stats/GetSecurityStatsNodeResponseTests.java | 43 | // DiscoverNode#hashCode only tests ephemeralId, so make sure to change it too | COMMENT |
| LOW | …sticsearch/xpack/core/ilm/OperationModeUpdateTask.java | 31 | * task might run at {@link Priority#IMMEDIATE} priority so please make sure to keep this task as lightweight as possibl | COMMENT |
| MEDIUM | …arch/xpack/stateless/StatelessHollowIndexShardsIT.java | 3146 | // and the snapshot is aborted or has some relevant exception from the following. Feel free to a | COMMENT |
| LOW | …ack/lucene/bwc/codecs/index/LegacyBinaryDocValues.java | 38 | * re-used across calls to {@link #get(int)} so make sure to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …st/compat/compat/AbstractYamlRestCompatTestPlugin.java | 296 | // TODO: implement custom extension that allows us move around of the projects between major versions and still find | COMMENT |
| LOW | …/src/main/java/org/elasticsearch/test/TestCluster.java | 273 | // TODO: implement me once views are used in integration tests | COMMENT |
| LOW | …ain/java/org/elasticsearch/index/mapper/TestBlock.java | 621 | // TODO: implement when needed | COMMENT |
| LOW | …elasticsearch/license/LicensesManagerServiceTests.java | 78 | // TODO: Add test/feature blocking the registration of basic license | COMMENT |
| LOW | …ck/core/termsenum/action/TransportTermsEnumAction.java | 733 | // TODO: Handle exceptions in the atomic response array | COMMENT |
| LOW | …va/org/elasticsearch/xpack/shutdown/ShutdownTests.java | 14 | // TODO: implement tests | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | libs/native-toolchain/build_cross_toolchain_image.sh | 18 | # Usage: | COMMENT |
| LOW | …kite/scripts/flakiness-detection/runners/never-fail.sh | 13 | # Usage: | COMMENT |
| LOW | .buildkite/scripts/smart-retry/test-local-flow.sh | 8 | # Usage: | COMMENT |
| LOW | build-tools/gradle-runner/test-runner.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …rence/elasticsearch/mapping-reference/semantic-text.md | 82 | 4. (Optional) Overrides the [chunking settings](/reference/elasticsearch/mapping-reference/semantic-text-reference.md#ch | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | x-pack/plugin/sql/connectors/tableau/tdvt/tdvt_run.py | 99 | CODE | |
| LOW | x-pack/plugin/sql/connectors/tableau/tdvt/tdvt_run.py | 141 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .buildkite/scripts/trigger-if-java-ea-new-build.sh | 54 | # Check if timestamp is within last 24 hours | COMMENT |