AI Slop Code Risk Monitor

elastic/elasticsearch

SlopCodeMonitor badge for elastic/elasticsearch Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Free and Open Source, Distributed, RESTful Search Engine

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
78.4K
Stars
Java
Language
8.1M
Lines of Code
39.4K
Files
2.6K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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.

Cognitive Ownership Risk 1.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1097 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.3/100 · LOW

Are imports declared and package/API names verified? 948 finding(s).

Agent Over-Engineering Ratio 1.7/100 · LOW

Are wrappers, guards, and repeated structures necessary? 638 finding(s).

PR Review Velocity Impact 7.1/100 · LOW

Which changes need focused human review? 2590 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 708HIGH 500MEDIUM 197LOW 1185

Directory Score Breakdown

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.

Pattern Findings

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.

Hallucination Indicators708 hits · 6770 pts
SeverityFileLineSnippetContext
CRITICAL.libra/specialists/gradle-build-logic.md62- Log through Gradle logging (`org.gradle.api.logging.Logging.getLogger(...)`). Do not use `System.out`, `System.err`, oCODE
CRITICAL…icsearch/indices/analysis/AnalysisFactoryTestCase.java302 org.apache.lucene.analysis.TokenizerFactory.availableTokenizers()CODE
CRITICAL…icsearch/indices/analysis/AnalysisFactoryTestCase.java314 org.apache.lucene.analysis.CharFilterFactory.availableCharFilters()CODE
CRITICAL…icsearch/indices/analysis/AnalysisFactoryTestCase.java326 org.apache.lucene.analysis.TokenFilterFactory.availableTokenFilters()CODE
CRITICAL…src/main/java/org/elasticsearch/test/StreamsUtils.java29 return org.elasticsearch.common.io.Streams.copyToString(new InputStreamReader(is, StandardCharsets.UTF_8));CODE
CRITICAL…src/main/java/org/elasticsearch/test/StreamsUtils.java37 return org.elasticsearch.common.io.Streams.copyToString(new InputStreamReader(is, StandardCharsets.UTF_8));CODE
CRITICAL…/plugin/analysis/icu/IcuFoldingTokenFilterFactory.java50 return new org.apache.lucene.analysis.icu.ICUNormalizer2Filter(tokenStream, normalizer);CODE
CRITICAL…ugin/analysis/icu/IcuNormalizerTokenFilterFactory.java44 return new org.apache.lucene.analysis.icu.ICUNormalizer2Filter(tokenStream, normalizer);CODE
CRITICAL…rg/elasticsearch/cli/keystore/ShowKeyStoreCommand.java57 final BytesReference bytes = org.elasticsearch.common.io.Streams.readFully(input);CODE
CRITICAL…verify_version_constants/VerifyVersionConstantsIT.java45 org.apache.lucene.util.Version luceneVersion = org.apache.lucene.util.Version.parse(luceneVersionString);CODE
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java306 // at org.apache.lucene.index.IndexWriter.doWait(IndexWriter.java:5531)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java307 // at org.apache.lucene.index.IndexWriter.abortMerges(IndexWriter.java:2733)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java308 // at org.apache.lucene.index.IndexWriter.rollbackInternalNoCommi(IndexWriter.java:2488)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java309 // at org.apache.lucene.index.IndexWriter.rollbackInternal(IndexWriter.java:2457)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java311 // at org.apache.lucene.index.IndexWriter.maybeCloseOnTragicEvent(IndexWriter.java:5765)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java312 // at org.apache.lucene.index.IndexWriter.tragicEvent(IndexWriter.java:5755)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java313 // at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:4780)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java316 // at org.elasticsearch.index.engine.ThreadPoolMergeScheduler.doMerge(ThreadPoolMergeScheduler.java:347)COMMENT
CRITICAL⚡…org/elasticsearch/index/engine/MergeWithFailureIT.java318 // at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService.runMergeTask(ThreadPoolMergeExecutorService.COMMENT
CRITICAL…h/indices/recovery/PeerRecoveryTargetServiceTests.java817 String writtenBy = org.apache.lucene.util.Version.LATEST.toString();CODE
CRITICAL…earch/indices/recovery/RecoverySourceHandlerTests.java1784 org.apache.lucene.util.Version.LATEST.toString()CODE
CRITICAL…ch/search/suggest/CompletionSuggestionOptionTests.java49 (map, value) -> map.put(Suggest.Suggestion.Entry.Option.TEXT.getPreferredName(), value),CODE
CRITICAL…ch/search/suggest/CompletionSuggestionOptionTests.java53 (map, value) -> map.put(Suggest.Suggestion.Entry.Option.SCORE.getPreferredName(), value),CODE
CRITICAL…ch/search/suggest/CompletionSuggestionOptionTests.java82 Text text = new Text((String) values.get(Suggest.Suggestion.Entry.Option.TEXT.getPreferredName()));CODE
CRITICAL…ch/search/suggest/CompletionSuggestionOptionTests.java83 Float score = (Float) values.get(Suggest.Suggestion.Entry.Option.SCORE.getPreferredName());CODE
CRITICAL…ch/fetch/subphase/highlight/PlainHighlighterTests.java37 org.apache.lucene.search.highlight.Highlighter highlighter = new org.apache.lucene.search.highlight.Highlighter(CODE
CRITICAL⚡…a/org/elasticsearch/common/logging/JULBridgeTests.java108 assertMessage("above severe", julLevel(java.util.logging.Level.SEVERE.intValue() + 1), Level.ERROR);CODE
CRITICAL⚡…a/org/elasticsearch/common/logging/JULBridgeTests.java109 assertMessage("above warning", julLevel(java.util.logging.Level.WARNING.intValue() + 1), Level.WARN);CODE
CRITICAL⚡…a/org/elasticsearch/common/logging/JULBridgeTests.java110 assertMessage("above info", julLevel(java.util.logging.Level.INFO.intValue() + 1), Level.INFO);CODE
CRITICAL⚡…a/org/elasticsearch/common/logging/JULBridgeTests.java111 assertMessage("above fine", julLevel(java.util.logging.Level.FINE.intValue() + 1), Level.DEBUG);CODE
CRITICAL⚡…a/org/elasticsearch/common/logging/JULBridgeTests.java112 assertMessage("above finest", julLevel(java.util.logging.Level.FINEST.intValue() + 1), Level.TRACE);CODE
CRITICAL…rch/index/codec/tsdb/ES87TSDBDocValuesFormatTests.java287 IndexVersion.current().luceneVersion().onOrAfter(org.apache.lucene.util.Version.fromBits(10, 5, 0))CODE
CRITICAL…/ES87TSDBDocValuesFormatVariableSkipIntervalTests.java214 IndexVersion.current().luceneVersion().onOrAfter(org.apache.lucene.util.Version.fromBits(10, 5, 0))CODE
CRITICAL…s/diskbbq/next/ESNextRescoreOversampleTestFixture.java456 org.apache.lucene.util.VectorUtil.l2normalize(v);CODE
CRITICAL…/elasticsearch/index/mapper/KeywordFieldTypeTests.java1001 return new org.apache.lucene.analysis.core.LowerCaseFilter(tokenStream);CODE
CRITICAL…arch/index/query/functionscore/FunctionScoreTests.java700 for (org.apache.lucene.search.ScoreMode scoreMode : org.apache.lucene.search.ScoreMode.values()) {CODE
CRITICAL…earch/indices/analysis/wrappers/StableApiWrappers.java156 return org.elasticsearch.index.analysis.AnalysisMode.valueOf(analysisMode.name());CODE
CRITICAL…ch/search/suggest/completion/CompletionSuggestion.java267 // org.elasticsearch.search.suggest.completion.CompletionSuggestion.reduce()COMMENT
CRITICAL…/search/fetch/subphase/highlight/PlainHighlighter.java98 entry = new org.apache.lucene.search.highlight.Highlighter(formatter, encoder, queryScorer);CODE
CRITICAL…ch/fetch/subphase/highlight/FastVectorHighlighter.java136 cache.fvh = new org.apache.lucene.search.vectorhighlight.FastVectorHighlighter();CODE
CRITICAL…ch/aggregations/metrics/TopHitsAggregationBuilder.java531 new org.elasticsearch.search.fetch.subphase.ScriptFieldsContext.ScriptField(CODE
CRITICAL…h/search/aggregations/bucket/geogrid/CellIdSource.java59 final GeoPointValues values = org.elasticsearch.index.fielddata.FieldData.unwrapSingleton(multiGeoPointValues);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java124 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(bytes);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java156 return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary();CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java173 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(ordinals);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java450 return org.elasticsearch.index.fielddata.FieldData.emptySortedNumericDoubles();CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java455 return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary();CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java500 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(values);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java503 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(values);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java702 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(bytes);CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java731 return org.elasticsearch.index.fielddata.FieldData.emptySortedBinary();CODE
CRITICAL…icsearch/search/aggregations/support/ValuesSource.java739 return org.elasticsearch.index.fielddata.FieldData.docsWithValue(geoPoints);CODE
CRITICAL⚡…a/org/elasticsearch/common/time/DateUtilsRounding.java29 * - org.joda.time.chrono.GregorianChronology.calculateFirstDayOfYearMillis(int year)COMMENT
CRITICAL⚡…a/org/elasticsearch/common/time/DateUtilsRounding.java30 * - org.joda.time.chrono.BasicChronology.getYear(int year)COMMENT
CRITICAL⚡…a/org/elasticsearch/common/time/DateUtilsRounding.java31 * - org.joda.time.chrono.BasicGJChronology.getMonthOfYear(long utcMillis, int year)COMMENT
CRITICAL⚡…a/org/elasticsearch/common/time/DateUtilsRounding.java32 * - org.joda.time.chrono.BasicGJChronology.getTotalMillisByYearMonth(int year, int month)COMMENT
CRITICAL…c/main/java/org/elasticsearch/action/ActionModule.java1012 registerHandler.accept(new org.elasticsearch.rest.action.cat.RestCountAction(crossProjectModeDecider));CODE
CRITICAL…c/main/java/org/elasticsearch/action/ActionModule.java1016 registerHandler.accept(new org.elasticsearch.rest.action.cat.RestPendingClusterTasksAction());CODE
CRITICAL…arch/action/admin/cluster/stats/ClusterStatsNodes.java288 this.mem = new org.elasticsearch.monitor.os.OsStats.Mem(totalMemory, adjustedTotalMemory, freeMemory);CODE
CRITICAL…atastreams/lifecycle/GetDataStreamLifecycleAction.java213 org.elasticsearch.cluster.metadata.DataStreamLifecycle.addEffectiveRetentionParams(params),CODE
648 more matches not shown…
Cross-File Repetition487 hits · 2435 pts
SeverityFileLineSnippetContext
HIGH…ticsearch/test/compiler/InMemoryJavaCompilerTests.java0* package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * retSTRING
HIGH…/elasticsearch/test/compiler/InMemoryJavaCompiler.java0* package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * retSTRING
HIGH…csearch/gradle/internal/test/InMemoryJavaCompiler.java0* package p; * public class foo implements java.util.function.supplier<string> { * @override public string get() { * retSTRING
HIGH…/elasticsearch/multiproject/MultiProjectRestartIT.java0{ "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } }STRING
HIGH…ch/xpack/security/ReindexRelocationWithSecurityIT.java0{ "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } }STRING
HIGH…/lifecycle/DataStreamLifecyclePermissionsTestCase.java0{ "template": { "settings": { "number_of_shards": 1, "number_of_replicas": 0 } } }STRING
HIGH…ticsearch/upgrades/FullClusterRestartDownsampleIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "timeSTRING
HIGH…Test/java/org/elasticsearch/upgrades/DownsampleIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "timeSTRING
HIGH…lasticsearch/xpack/ilm/actions/DownsampleActionIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "timeSTRING
HIGH…ticsearch/upgrades/FullClusterRestartDownsampleIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "modeSTRING
HIGH…Test/java/org/elasticsearch/upgrades/DownsampleIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "modeSTRING
HIGH…a/org/elasticsearch/xpack/ilm/CCRIndexLifecycleIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "modeSTRING
HIGH…lasticsearch/xpack/ilm/actions/DownsampleActionIT.java0{ "index_patterns": ["%s*"], "template": { "settings":{ "index": { "number_of_replicas": 0, "number_of_shards": 1, "modeSTRING
HIGH…/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java0{ "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] }STRING
HIGH…ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java0{ "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] }STRING
HIGH…rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java0{ "size": %s, "_source": false, "sort": [{ "@timestamp": "desc" }], "docvalue_fields": ["gauge", "hostname"] }STRING
HIGH…/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java0{ "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } }STRING
HIGH…ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java0{ "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } }STRING
HIGH…rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java0{ "size": 0, "track_total_hits": true, "query": { "term": { "hostname": "%s" } } }STRING
HIGH…/upgrades/tsdb/TimeSeriesES95FullClusterRestartIT.java0{ "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } }STRING
HIGH…ticsearch/upgrades/TimeSeriesES95RollingUpgradeIT.java0{ "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } }STRING
HIGH…rch/datastreams/TsdbES95DataStreamLifecycleRestIT.java0{ "size": 0, "aggs": { "gauge_sum": { "sum": { "field": "gauge" } } } }STRING
HIGH…asticsearch/indices/template/ComposableTemplateIT.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…ack/stateless/cluster/metadata/CreateIndexLimitIT.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…cluster/metadata/ProjectMetadataRamBytesUsedTests.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…h/cluster/metadata/IndexMetadataRamBytesUsedTests.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…r/metadata/IndexTemplateMetadataRamBytesUsedTests.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…uster/metadata/IndexMetadataRamBytesUsedBenchmark.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…ateless/memory/StatelessMemoryMetricsServiceTests.java0{ "_doc": { "properties": { "field": { "type": "keyword" } } } }STRING
HIGH…va/org/elasticsearch/search/scroll/SearchScrollIT.java0{"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}}STRING
HIGH…org/elasticsearch/action/search/TransportSearchIT.java0{"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}}STRING
HIGH…ava/org/elasticsearch/action/search/PointInTimeIT.java0{"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}}STRING
HIGH…h/xpack/searchablesnapshots/RetrySearchIntegTests.java0{"properties":{"created_date":{"type": "date", "format": "yyyy-mm-dd"}}}STRING
HIGH…/org/elasticsearch/search/query/IntervalQueriesIT.java0{ "_doc" : { "properties" : { "text" : { "type" : "text" } }}}STRING
HIGH…/subphase/highlight/CustomUnifiedHighlighterTests.java0{ "_doc" : { "properties" : { "text" : { "type" : "text" } }}}STRING
HIGH…ch/fetch/subphase/highlight/PlainHighlighterTests.java0{ "_doc" : { "properties" : { "text" : { "type" : "text" } }}}STRING
HIGH…ch/action/bulk/OperationsOnSeqNoDisabledIndicesIT.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…index/reindex/BulkByPaginatedSearchSeqNoSettingIT.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…g/elasticsearch/xpack/slm/SnapshotLifecycleRestIT.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…xpack/logsdb/LogsdbIndexModeSettingsProviderTests.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…ava/org/elasticsearch/indices/IndicesServiceTests.java0{ "_doc":{ "properties": { "@timestamp": { "type": "date" } } } }STRING
HIGH…va/org/elasticsearch/readiness/ReadinessClusterIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byteSTRING
HIGH…earch/reservedstate/service/FileSettingsServiceIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byteSTRING
HIGH…/reservedstate/service/SnapshotsAndFileSettingsIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": { "cluster_settings": { "indices.recovery.max_byteSTRING
HIGH…earch/reservedstate/service/FileSettingsServiceIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} }STRING
HIGH…/reservedstate/service/SnapshotsAndFileSettingsIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} }STRING
HIGH…y/support/CleanupRoleMappingDuplicatesMigrationIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} }STRING
HIGH…less/settings/secure/ClusterSecretsFileSettingsIT.java0{ "metadata": { "version": "%s", "compatibility": "8.4.0" }, "state": {} }STRING
HIGH…sticsearch/rest/action/document/RestIndexActionIT.java0{ "settings": { "index.slice.enabled": true, "number_of_shards": 1 } }STRING
HIGH…arch/script/mustache/SearchTemplateSliceSupportIT.java0{ "settings": { "index.slice.enabled": true, "number_of_shards": 1 } }STRING
HIGH…arch/xpack/fleet/action/FleetSearchSliceSupportIT.java0{ "settings": { "index.slice.enabled": true, "number_of_shards": 1 } }STRING
HIGH…a/org/elasticsearch/escf/EscfEncoderSimdJsonTests.java0{"user":{"name":"alice","age":30},"status":"active"}STRING
HIGH…t/java/org/elasticsearch/escf/EscfEncoderMapTests.java0{"user":{"name":"alice","age":30},"status":"active"}STRING
HIGH…test/java/org/elasticsearch/escf/EscfEncoderTests.java0{"user":{"name":"alice","age":30},"status":"active"}STRING
HIGH…/org/elasticsearch/search/suggest/SuggestionTests.java0{ "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext"STRING
HIGH…elasticsearch/search/suggest/SuggestionEntryTests.java0{ "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext"STRING
HIGH…ava/org/elasticsearch/search/suggest/SuggestTests.java0{ "suggest": { "suggestionname": [ { "text": "entrytext", "offset": 42, "length": 313, "options": [ { "text": "sometext"STRING
HIGH…dex/codec/tsdb/TSDBSyntheticIdPostingsFormatTests.java0{ "_doc": { "properties": { "@timestamp": { "type": "date" }, "hostname": { "type": "keyword", "time_series_dimension": STRING
427 more matches not shown…
Over-Commented Block602 hits · 588 pts
SeverityFileLineSnippetContext
LOWmuted-tests.yml21 method: testStopLookback_forceTrue_closeJobFalseCOMMENT
LOWmuted-tests.yml41#COMMENT
LOW…rnal/src/main/resources/external-changelog-sources.yml1# External repositories whose changelog entries should be merged into theCOMMENT
LOW…nal/src/main/resources/forbidden/third-party-audit.txt1 # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under oneCOMMENT
LOW…nal/src/main/resources/forbidden/third-party-audit.txt21# // ...COMMENT
LOW…earch/gradle/internal/ElasticsearchJavaBasePlugin.java141 project.getNormalization().getRuntimeClasspath().ignore("META-INF/MANIFEST.MF");COMMENT
LOW…l/dependencies/rules/ComponentMetadataRulesPlugin.java221 // use 2.7.7_5.COMMENT
LOW…l/dependencies/rules/ComponentMetadataRulesPlugin.java261 // org.apache.directory.server:apacheds-kerberos-codec brings in org.apache.directory.api:api-asn1-api:1.0.0. WeCOMMENT
LOW…l/dependencies/rules/ComponentMetadataRulesPlugin.java381 // 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.java321 FileTree jarFiles = archiveOperations.zipTree(jar);COMMENT
LOW.ci/scripts/check-esql-generated-headers.sh1#!/bin/bashCOMMENT
LOW…/cluster/coordination/AbstractCoordinatorTestCase.java221 // 2. state publisher task on masterCOMMENT
LOW…icsearch/indices/analysis/AnalysisFactoryTestCase.java181 entry("numericpayload", Void.class),COMMENT
LOW…/java/org/elasticsearch/common/util/MockBigArrays.java61/// - [BigArrays] calls `recycler.bytePage()` / `objectPage()` once, records the page in `MockPageCacheRecycler.ACQUIREDCOMMENT
LOW…/test/cluster/local/DefaultSystemPropertyProvider.java21 public Map<String, String> get(LocalClusterSpec.LocalNodeSpec nodeSpec) {COMMENT
LOWplugins/analysis-ukrainian/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOWplugins/analysis-phonetic/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOW…icsearch/plugin/analysis/phonetic/KoelnerPhonetik.java201 // unbounded: without a limit, split() allocates a String and array/list slot per segment beforeCOMMENT
LOWplugins/analysis-nori/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOWplugins/analysis-kuromoji/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOWplugins/analysis-smartcn/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOWplugins/analysis-stempel/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOW…search/example/painlesswhitelist/example_whitelist.txt1#COMMENT
LOWplugins/analysis-icu/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOW…ript/field/murmur3/org.elasticsearch.field.murmur3.txt1#COMMENT
LOWdistribution/docker/src/docker/bin/docker-entrypoint.sh1#!/bin/bashCOMMENT
LOWdistribution/docker/src/docker/bin/docker-entrypoint.sh21 # Run whatever command the user wantedCOMMENT
LOWdistribution/src/config/elasticsearch.yml1# ======================== Elasticsearch Configuration =========================COMMENT
LOWdistribution/src/config/elasticsearch.yml21# Use a descriptive name for the node:COMMENT
LOWdistribution/src/config/elasticsearch.yml41# Lock the memory on startup:COMMENT
LOWdistribution/src/config/elasticsearch.yml61#http.port: 9200COMMENT
LOWdistribution/src/config/elasticsearch.yml81#COMMENT
LOWqa/vector/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOWserver/licenses/lucene-LICENSE.txt281# Copyright (c) 2010, Jean-Philippe Barrette-LaPierre, <jpb@rrette.com>COMMENT
LOW…java/org/elasticsearch/snapshots/RestoringShardIT.java321 UnavailableShardsException.class,COMMENT
LOW…org/elasticsearch/index/engine/MergeWithFailureIT.java301 //COMMENT
LOW…/heappressure/QueryCacheDenseClauseHeapPressureIT.java41/// tens of millions of documents, each search holding about 330 MB of bitsets on a 2 GB heap. Reproducing it takes fourCOMMENT
LOW…asticsearch/cluster/coordination/CoordinatorTests.java1481COMMENT
LOW…/allocation/allocator/DesiredBalanceComputerTests.java2001 /// [DesiredBalanceComputer#maybeSimulateAlreadyStartedShards] accounts for shard movements that have occurred sinceCOMMENT
LOW…luster/metadata/MetadataIndexTemplateServiceTests.java1161COMMENT
LOW…luster/metadata/MetadataIndexTemplateServiceTests.java1261COMMENT
LOW…luster/metadata/MetadataIndexTemplateServiceTests.java1301 .downsamplingMethod(ResettableValue.reset())COMMENT
LOW…icsearch/action/bulk/ShardBatchMapperResolveTests.java221 // b.startObject("runtime");COMMENT
LOW…est/java/org/elasticsearch/index/VersionTypeTests.java41 assertTrue(VersionType.INTERNAL.isVersionConflictForWrites(9, 10, randomBoolean()));COMMENT
LOW…codec/vectors/ash/AsymmetricHashingQuantizerTests.java321 assertThat(quantizer.nDims(2046), equalTo(1023));COMMENT
LOW…csearch/gateway/PersistedClusterStateServiceTests.java1461 // size of a write to add index metadata. So while each index metadata write will add one segment, it wiCOMMENT
LOW…rg/elasticsearch/cluster/ClusterStateTaskListener.java21 /// Tasks may themselves fail during execution, either by throwing an exception rather than returning an updated [ClCOMMENT
LOW…rg/elasticsearch/cluster/ClusterStateTaskListener.java41 /// successfully but the publication of the resulting [ClusterState] failed. In that case this callback is completedCOMMENT
LOW…g/elasticsearch/cluster/health/ClusterShardHealth.java161 out.writeVInt(relocatingShards);COMMENT
LOW…va/org/elasticsearch/cluster/routing/ShardRouting.java41COMMENT
LOW…va/org/elasticsearch/cluster/routing/ShardRouting.java61COMMENT
LOW…ting/allocation/RecoveryDirectCancellationService.java61/// - Desired-balance cancellations ([cancelUndesiredRecoveries]): when the desired balance changes and anCOMMENT
LOW…ting/allocation/RecoveryDirectCancellationService.java201 final boolean newMaster = event.previousState().nodes().isLocalNodeElectedMaster() == false;COMMENT
LOW…ting/allocation/allocator/BalancedShardsAllocator.java601 // assigned to, then there is no way moving the shard to the node with the worse weightCOMMENT
LOW…asticsearch/cluster/metadata/IndexReshardingState.java101COMMENT
LOW…rg/elasticsearch/indices/IndexingMemoryController.java501 indexingBuffer,COMMENT
LOW…dices/recovery/DataNodeRecoveryThrottlingSettings.java21import java.util.function.Consumer;COMMENT
LOW…dices/recovery/DataNodeRecoveryThrottlingSettings.java41/// ## Target (incoming) sideCOMMENT
LOW…dices/recovery/DataNodeRecoveryThrottlingSettings.java61/// The combination of [#INDICES_RECOVERY_MAX_CONCURRENT_OUTGOING_RECOVERIES_SETTING] andCOMMENT
LOW…dices/recovery/DataNodeRecoveryThrottlingSettings.java81 /// [#INDICES_RECOVERY_MAX_CONCURRENT_INCOMING_RECOVERIES_PER_HEAP_GB_SETTING] when applicable (see [#appliesIncominCOMMENT
542 more matches not shown…
Fake / Example Data233 hits · 250 pts
SeverityFileLineSnippetContext
LOW…lasticsearch/common/xcontent/support/sample_no_pr.json12 "name" : "John Doe",CODE
LOW…rch/common/xcontent/support/sample_no_title_pages.json11 "name" : "John Doe",CODE
LOW…ticsearch/common/xcontent/support/sample_no_title.json12 "name" : "John Doe",CODE
LOW…ommon/xcontent/support/sample_no_properties_names.json13 "name" : "John Doe",CODE
LOW…on/xcontent/support/sample_no_properties_en_names.json13 "name" : "John Doe",CODE
LOW…csearch/common/xcontent/support/sample_just_names.json4 "name" : "John Doe"CODE
LOW…sticsearch/common/xcontent/support/sample_no_tags.json9 "name" : "John Doe",CODE
LOW…/org/elasticsearch/common/xcontent/support/sample.json13 "name" : "John Doe",CODE
LOW…earch/common/xcontent/support/sample_just_authors.json4 "name" : "John Doe",CODE
LOW…t/support/sample_no_properties_distributors_names.json13 "name" : "John Doe",CODE
LOW…ommon/xcontent/support/sample_no_authors_lastname.json13 "name" : "John Doe",CODE
LOW…rch/xpack/esql/heap_attack/HeapAttackLookupJoinIT.java227 str.append("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW…rch/xpack/esql/heap_attack/HeapAttackLookupJoinIT.java227 str.append("Lorem ipsum dolor sit amet, consectetur adipiscing elit.");CODE
LOW…/org/elasticsearch/test/rest/yaml/ObjectPathTests.java270 stash.stashValue("placeholder", "elements");CODE
LOW⚡…/org/elasticsearch/test/rest/yaml/ObjectPathTests.java284 stash.stashValue("placeholder", "ele");CODE
LOW⚡…/org/elasticsearch/test/rest/yaml/ObjectPathTests.java290 stash.stashValue("placeholder", "le");CODE
LOW⚡…/org/elasticsearch/test/rest/yaml/ObjectPathTests.java296 stash.stashValue("placeholder", "le");CODE
LOW⚡…ces/rest-api-spec/test/custom-suggester/20_suggest.yml51 - match: { suggest.test.0.dummy: entry-dummy-value }CODE
LOW⚡…ces/rest-api-spec/test/custom-suggester/20_suggest.yml53 - match: { suggest.test.0.options.0.dummy: option-dummy-value-1 }CODE
LOW⚡…ces/rest-api-spec/test/custom-suggester/20_suggest.yml55 - match: { suggest.test.0.options.1.dummy: option-dummy-value-2 }CODE
LOW⚡…ticsearch/example/customsuggester/CustomSuggester.java38 CustomSuggestion.Entry.Option option12 = new CustomSuggestion.Entry.Option(new Text(firstOption), 0.9f, "option-CODE
LOW⚡…ticsearch/example/customsuggester/CustomSuggester.java43 CustomSuggestion.Entry.Option option123 = new CustomSuggestion.Entry.Option(new Text(secondOption), 0.8f, "optioCODE
LOW⚡…ticsearch/example/customsuggester/CustomSuggester.java53 CustomSuggestion response = new CustomSuggestion(name, suggestion.getSize(), "suggestion-dummy-value");CODE
LOW⚡…ticsearch/example/customsuggester/CustomSuggester.java54 CustomSuggestion.Entry entry = new CustomSuggestion.Entry(new Text(text), 0, text.length(), "entry-dummy-value")CODE
LOW…t/java/org/elasticsearch/test/knn/KnnIndexerTests.java33 Document document = factory.createDocument(new StringField("placeholder", "value", Field.Store.NO), 0);CODE
LOW…t/java/org/elasticsearch/test/knn/KnnIndexerTests.java49 Document document = factory.createDocument(new StringField("placeholder", "value", Field.Store.NO), 0);CODE
LOW…sticsearch/search/fetch/subphase/MatchedQueriesIT.java289 prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get();CODE
LOW…sticsearch/search/fetch/subphase/MatchedQueriesIT.java289 prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get();CODE
LOW…sticsearch/search/fetch/subphase/MatchedQueriesIT.java326 prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get();CODE
LOW…sticsearch/search/fetch/subphase/MatchedQueriesIT.java326 prepareIndex("test").setId("1").setSource("content", "Lorem ipsum dolor sit amet").get();CODE
LOW…cluster/coordination/ClusterBootstrapServiceTests.java193 assertThat(vc.getNodeIds(), not(hasItem(containsString("placeholder"))));CODE
LOW…icsearch/indices/TimestampFieldMapperServiceTests.java105 "dummy_value"CODE
LOW…ticsearch/transport/Lz4TransportDecompressorTests.java197 final byte[] literals = "Lorem ipsum".getBytes(StandardCharsets.US_ASCII);CODE
LOW…ticsearch/transport/Lz4TransportDecompressorTests.java198 final byte[] trailingBytes = "dolor sit amet consectetur adipiscing elit sed do eiusmod tempor".getBytes(StandarCODE
LOW…ch/fetch/subphase/highlight/PlainHighlighterTests.java53 "Lorem Ipsum string Generator that helps to create dummy text for all layout needs.",CODE
LOW…ch/fetch/subphase/highlight/PlainHighlighterTests.java69 "Lorem Ipsum <em>string</em> Generator that helps to create"STRING
LOW…ch/fetch/subphase/highlight/PlainHighlighterTests.java83 "Lorem Ipsum <em>string</em> <em>Generator</em> that helps to create",STRING
LOW…aggregations/pipeline/BucketScriptAggregatorTests.java75 FiltersAggregationBuilder filters = new FiltersAggregationBuilder("placeholder", new MatchAllQueryBuilder()).subCODE
LOW…aggregations/pipeline/BucketScriptAggregatorTests.java111 FilterAggregationBuilder filter = new FilterAggregationBuilder("placeholder", new MatchAllQueryBuilder()).subAggCODE
LOW…ch/action/admin/indices/resolve/ResolveIndexTests.java579 "dummy_value"CODE
LOW…/index/mapper/flattened/FlattenedFieldMapperTests.java947 b.field("null_value", "placeholder");CODE
LOW…/index/mapper/flattened/FlattenedFieldMapperTests.java962 assertEquals(new BytesRef("placeholder"), otherFields.get(0).binaryValue());CODE
LOW…/index/mapper/flattened/FlattenedFieldMapperTests.java963 assertEquals(new BytesRef("placeholder"), otherFields.get(1).binaryValue());CODE
LOW…/index/mapper/flattened/FlattenedFieldParserTests.java440 "placeholder",CODE
LOW…/index/mapper/flattened/FlattenedFieldParserTests.java459 assertEquals(new BytesRef("placeholder"), field.binaryValue());CODE
LOW⚡…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java68 var fooValue = nameValue("foo", "lorem ipsum");CODE
LOW⚡…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java77 var fooValue = nameValue("foo", "lorem ipsum");CODE
LOW⚡…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java78 var barValue = nameValue("bar", "dolor sit amet");CODE
LOW⚡…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java88 var fooValue = nameValue("foo", "lorem ipsum");CODE
LOW⚡…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java89 var barValue = nameValue("bar", "dolor sit amet");CODE
LOW…/index/fieldvisitor/IgnoredSourceFieldLoaderTests.java101 var fooValue = new IgnoredSourceFieldMapper.NameValue("parent", 7, new BytesRef("lorem ipsum"), null);CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java55 doc("foo", "lorem ipsum", "_ignored_source", "dolor sit amet"),CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java55 doc("foo", "lorem ipsum", "_ignored_source", "dolor sit amet"),CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java64 var fooValue = new IgnoredSourceFieldMapper.NameValue("foo", 0, new BytesRef("lorem ipsum"), null);CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java78 doc("_ignored_source", "lorem ipsum"),CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java81 assertThat(storedFields, hasEntry(equalTo("_ignored_source"), containsInAnyOrder(new BytesRef("lorem ipsCODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java87 var fooValue = new IgnoredSourceFieldMapper.NameValue("foo", 0, new BytesRef("lorem ipsum"), null);CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java88 var barValue = new IgnoredSourceFieldMapper.NameValue("bar", 0, new BytesRef("dolor sit amet"), null);CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java103 doc("_ignored_source", "lorem ipsum", "_ignored_source", "dolor sit amet"),CODE
LOW⚡…csearch/index/fieldvisitor/StoredFieldLoaderTests.java103 doc("_ignored_source", "lorem ipsum", "_ignored_source", "dolor sit amet"),CODE
173 more matches not shown…
Structural Annotation Overuse127 hits · 208 pts
SeverityFileLineSnippetContext
LOW…/elasticsearch/cluster/routing/GlobalRoutingTable.java54 // Step 1: Iterable over all ShardRouting entries in the nodes and split them by owning project-idCOMMENT
LOW…/elasticsearch/cluster/routing/GlobalRoutingTable.java73 // Step 2: Where necessary, build a new routing table for each project based on the shard routingCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3056 // Step 1: Set repository generation state to the next possible pending generationCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3143 // Step 2: Write new index-N blob to repository and update index.latestCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3226 // Step 3: Update CS to reflect new repository generation.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java74 // Step 1: directed diversity-pruned edges from kNN neighborhoods + immediate reverse edges.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java99 // Step 2: re-prune any node whose degree exceeded maxConn due to reverse edges.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java210 // Step 1: directed diversity-pruned edges among levelNodes.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java225 // Step 2: symmetrize — for each directed edge i→j, add reverse j→i (global ordinals).COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java237 // Step 3: re-prune any oversize node.COMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java470 // Step 1: Mass-weighted seed selection — each seed is sampled proportional toCOMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java475 // Step 2: Capacity-constrained greedy assignment — single pass, no iteration.COMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java480 // Step 3: Compute size-weighted mean centroid for each meta-cluster.COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java459 // Step 1: Read packed codes via the scorer (produces raw dot products).COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java466 // Step 2: Read corrections in SoA order (IndexInput is now past the codes, at the corrections)COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java476 // Step 3: Apply per-vector corrections and similarity conversionCOMMENT
LOWdocs/internal/SystemIndices.md110### Step 1: Implement `SystemIndexPlugin`COMMENT
LOWdocs/internal/SystemIndices.md136### Step 2: Build a `SystemIndexDescriptor`COMMENT
LOWdocs/internal/SystemIndices.md177### Step 3: Register the descriptorCOMMENT
LOW…reference/query-languages/esql/esql-search-tutorial.md56## Step 1: Create an indexSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md127## Step 2: Add sample blog posts to your index [full-text-filter-tutorial-index-data]STRING
LOW…reference/query-languages/esql/esql-search-tutorial.md145## Step 3: Basic search operationsSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md238## Step 4: Search precision controlSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md319## Step 5: Multi-field search and query stringsSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md374## Step 6: Filtering and exact matchingSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md423## Step 7: Complex search solutionsSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md459## Step 8: Semantic search and hybrid searchSTRING
LOW…reference/query-languages/esql/esql-search-tutorial.md577## Step 9: Advanced AI-powered searchSTRING
LOWdocs/reference/query-languages/promql/promql-grafana.md142### Step 1: Read the panel error [promql-grafana-troubleshooting-read-error]COMMENT
LOWdocs/reference/query-languages/promql/promql-grafana.md154### Step 2: Inspect the request and response [promql-grafana-troubleshooting-inspect]COMMENT
LOWdocs/reference/query-languages/promql/promql-grafana.md173### Step 3: Decide where the issue belongs [promql-grafana-troubleshooting-decide]COMMENT
LOW…cs/reference/query-languages/promql/promql-tutorial.md55## Step 0: Add sample Prometheus metricsCOMMENT
LOW…cs/reference/query-languages/promql/promql-tutorial.md168## Step 1: Run basic PromQL queries with the HTTP APICOMMENT
LOW…cs/reference/query-languages/promql/promql-tutorial.md355## Step 2: Process PromQL results with {{esql}} [promql-tutorial-esql]COMMENT
LOW…cs/reference/query-languages/promql/promql-tutorial.md440## Step 3: Connect Prometheus with remote write [promql-tutorial-remote-write]COMMENT
LOW…nce/scripting-languages/painless/painless-debugging.md39### Step 1: Run the failing scriptCOMMENT
LOW…nce/scripting-languages/painless/painless-debugging.md63### Step 2: Analyze the errorSTRING
LOW…nce/scripting-languages/painless/painless-debugging.md117### Step 3: Use Debug.explain() to understand the problemSTRING
LOW…nce/scripting-languages/painless/painless-debugging.md276### Step 4: Fix the scriptSTRING
LOW…nce/scripting-languages/painless/painless-debugging.md300### Step 5: Verify the solution worksSTRING
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java684 // Step 1: combine adjacent byte-pairs into 16-bit values: d0*10+d1, d2*10+d3, ...COMMENT
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java690 // Step 2: combine adjacent 16-bit pairs into 32-bit valuesCOMMENT
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java694 // Step 3: combine into single 64-bit valueCOMMENT
LOW⚡libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp208 // Step 1: reduce pairsCOMMENT
LOW⚡libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp212 // Step 2: reduce across 128-bit halvesCOMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java515 // Step 1: find field "a"COMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java526 // Step 2: walk array to index 2COMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java537 // Step 3: find field "k"COMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java987 // Step 1: Start our upload and upload the new contents as its unique part.COMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java994 // Step 2: List all uploads that are racing to complete, and compute our position in the list. This definiteCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1010 // Step 3: Ensure all other uploads in currentUploads are complete (either successfully, aborted by us oCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1015 // Step 4: Read the current register value. Note that getRegister only has read-after-write semantics buCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1025 // Step 5: Perform the compare-and-swap by completing our upload iff the witnessed value matches the expCOMMENT
LOW…org/elasticsearch/repositories/s3/S3BlobContainer.java1039 // Step 6: Complete the listener.COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5252 // Step 1: populate the region (simulates warming — no madvise applied)COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5267 // Step 2: read from cache with madvise in the reader callback (simulates CacheFileReader.doRead).COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5319 // Step 1: populate a region and set MADV_RANDOM via the fill handler (simulates .vec file)COMMENT
LOW⚡…arch/blobcache/shared/SharedBlobCacheServiceTests.java5335 // Step 2: evict the region by triggering decay and allocating a new keyCOMMENT
LOW⚡…arch/blobcache/shared/SharedBlobCacheServiceTests.java5340 // Step 3: populate the reused region (simulates warming for .doc file — no madvise)COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5354 // Step 4: read with MADV_NORMAL in the reader callback (simulates CacheFileReader.doRead for .doc).COMMENT
67 more matches not shown…
AI Slop Vocabulary67 hits · 197 pts
SeverityFileLineSnippetContext
MEDIUM…st/rest/compat/compat/RestCompatTestTransformTask.java484 // TODO: instead of flattening the FileTree here leverage FileTree.visit() so we can preserve folder hierarchy iCOMMENT
MEDIUM…g/elasticsearch/test/store/MockFSDirectoryFactory.java132 // TODO: make this test robust to virus scannerCOMMENT
MEDIUM…atageneration/matchers/source/DynamicFieldMatcher.java96 * We make the normalisation of double values stricter than {@link SourceTransforms#normalizeValues} to facilitate tCOMMENT
MEDIUM…ation/allocator/DesiredBalanceReconcilerMetricsIT.java72 ClusterRerouteUtils.reroute(client()); // ensure we leverage the latest cluster infoCODE
MEDIUM…a/org/elasticsearch/action/bulk/IncrementalBulkIT.java971 * Filtering by {@link IncrementalBulkService#BULK_SESSION_ACTION} is more robust than checkingCOMMENT
MEDIUM…lobstore/BlobStoreRepositoryDeleteThrottlingTests.java52 // a time and would not fully utilize all snapshot threads. This test shows that we do neither of these things.COMMENT
MEDIUM…apper/RuntimeFieldSourceProviderOptimizationTests.java75 // SourceProvider isn't kicking in. Essentially checking that optimization inCOMMENT
MEDIUM…earch/cluster/metadata/MetadataCreateIndexService.java632 // Essentially, all but .kibana indices, see KibanaPlugin.java.COMMENT
MEDIUM…earch/lucene/grouping/SinglePassGroupingCollector.java288 // Definitely not competitive. So don't even bother to continueCOMMENT
MEDIUM…earch/lucene/grouping/SinglePassGroupingCollector.java291 // Definitely competitive.COMMENT
MEDIUM…earch/lucene/grouping/SinglePassGroupingCollector.java381 // Definitely not competitive.COMMENT
MEDIUM…earch/lucene/grouping/SinglePassGroupingCollector.java384 // Definitely competitive; set remaining comparators:COMMENT
MEDIUM…search/repositories/blobstore/BlobStoreRepository.java1444 // Definitely indicates something fairly badly wrong with the repo, but not immediately fatal here: COMMENT
MEDIUM…ch/fetch/subphase/highlight/FastVectorHighlighter.java196 // Essentially we just request that a fragment is built from 0 to noMatchSize usingCOMMENT
MEDIUM…odec/vectors/Lucene99ScalarQuantizedVectorsWriter.java550 // We utilize upper & lower here to determine if the new upper and merged upper wouldCOMMENT
MEDIUM…odec/vectors/Lucene99ScalarQuantizedVectorsWriter.java609 // If we have quantization state, we can utilize that to make merging cheaperCOMMENT
MEDIUM…earch/index/mapper/vectors/DenseVectorFieldMapper.java3843 // By default utilize the quantized oversample if configuredCOMMENT
MEDIUM…earch/index/mapper/vectors/DenseVectorFieldMapper.java3970 // By default utilize the quantized oversample is configuredCOMMENT
MEDIUM…g/elasticsearch/index/store/LuceneFilesExtensions.java36 // are not mmaping them as queries that leverage positions are more costly and the decoding of postingsCOMMENT
MEDIUM…ava/org/elasticsearch/node/ShutdownPrepareService.java47 * This class was created to extract out the logic from {@link Node#prepareForClose()} to facilitate testing.COMMENT
MEDIUM…search/xpack/vectortile/rest/RestVectorTileAction.java216 // Since we have support for getLabelPosition as a runtime field, we can utilize that here by defining an imCOMMENT
MEDIUM…h/xpack/esql/datasource/grpc/EmployeeFlightServer.java251 // Use FlightServer.close() which provides a robust shutdown sequence:COMMENT
MEDIUM…earch/xpack/security/authc/saml/SamlAuthenticator.java265 // "past now" that is now - the maximum skew we will tolerate. Essentially "if our clock is 2min fast, what timeCOMMENT
MEDIUM…earch/xpack/security/authc/saml/SamlAuthenticator.java415 // - a "future now" that is now + the maximum skew we will tolerate. Essentially "if our clock is 2min slow, whaCOMMENT
MEDIUM…earch/xpack/security/authc/saml/SamlAuthenticator.java416 // - 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.java907 // we leverage the NotCopyableOnResize setting property for downsample, becauseCOMMENT
MEDIUM…xpack/esql/datasource/iceberg/IcebergTableCatalog.java49 // A more robust implementation would check for the presence of metadata directoryCOMMENT
MEDIUM…elasticsearch/xpack/ml/integration/DatafeedJobsIT.java910 // the code is robust to it.COMMENT
MEDIUM…lasticsearch/xpack/ml/aggs/changepoint/StatsTests.java317 // 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.java185 // robust scale inflates so they never reach the candidate list.COMMENT
MEDIUM…org/elasticsearch/xpack/ml/aggs/changepoint/Stats.java37 // 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.java40 // The numerical floor used by the composite robust scale below.COMMENT
MEDIUM…ck/ml/aggs/changepoint/StructuralChangeClassifier.java349 // each side's noise with a robust scale: the IQR of its first differences. First-differencingCOMMENT
MEDIUM…ck/ml/aggs/changepoint/StructuralChangeClassifier.java352 // This makes the value channel a robust, full-resolution backstop for a short, strong varianceCOMMENT
MEDIUM…ck/ml/aggs/changepoint/StructuralChangeClassifier.java373 // Discount the effective sample size for the variance test. A robust IQR-of-first-differencesCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java23 // Width of the local window used to fit the robust Theil-Sen boundary line that restores the first/lastCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java28 // rolling-median baseline exceeds this many robust sigmas of the residual scale. Generous pre-filter; theCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java64 * 1. propose a long list of candidates whose residual exceeds {@link #PULSE_Z_THRESHOLD} robust sigmas ofCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java86 // Residual signal and its robust scale. This scale is only the generous pre-filter for the candidateCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java95 // - a tie-robust movement scale from the IQR of first differences. The median estimator collapses toCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java109 // invisible to the proposer. Re-residual the boundary points against a robust Theil-Sen line over a localCOMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java111 // excursion the robust line ignores gets a large residual and is proposed like any interior point.COMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java173 // keeps it scale-robust, so a huge spike does not mask a moderate one.COMMENT
MEDIUM…ticsearch/xpack/ml/aggs/changepoint/PulseDetector.java188 // - for a dip). Floored by the robust residual scale so a baseline near zero does not blow theCOMMENT
MEDIUM…pack/ml/aggs/changepoint/StructuralChangeDetector.java48 // not relative to a global median. Cauchy weight scale (in robust-sigma units) with ~2.385 beingCOMMENT
MEDIUM…pack/ml/aggs/changepoint/StructuralChangeDetector.java58 // Boundary window for the robust line used to residual the first/last WEIGHT_HALF_WINDOW pointsCOMMENT
MEDIUM…pack/ml/aggs/changepoint/StructuralChangeDetector.java366 // trends. Re-residual the boundary points against a robust (Theil-Sen) line over a local boundaryCOMMENT
MEDIUM…pack/ml/aggs/changepoint/StructuralChangeDetector.java368 // while a spike is an outlier the robust line ignores (large residual, down-weighted).COMMENT
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM⚡…ts/src/javaRestTest/resources/elser_model_2.vocab.json1{"vocabulary": ["[PAD]", "[unused0]", "[unused1]", "[unused2]", "[unused3]", "[unused4]", "[unused5]", "[unused6]", "[unCODE
MEDIUM…portUpdateInferenceModelActionSecretRotationTests.java324 // Each validator routes to exactly one of these; we stub all so the test is robust toCOMMENT
MEDIUM…/prometheus/rest/PrometheusSeriesResponseListener.java134 // Use xcontent for robust parsingCOMMENT
LOW…asticsearch/xpack/esql/io/stream/PlanStreamOutput.java49 * is slow. And so is {@link Object#equals}. So, instead we just useCOMMENT
LOW…sql/expression/function/fulltext/FullTextFunction.java725 // wrong if `fieldAttribute` is a subfield, e.g. `parent.child` - EsField#getName will just return `child`.COMMENT
MEDIUM…/xpack/esql/datasource/s3/S3DataSourcePluginTests.java76 // 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.java70 // corresponding plugins are closed. Fundamentally, they are still similar to GCS since both all three blob storCOMMENT
7 more matches not shown…
Verbosity Indicators110 hits · 193 pts
SeverityFileLineSnippetContext
LOW…earch/snapshots/DedicatedClusterSnapshotRestoreIT.java315 // After it was marked as completed in the cluster state - we need to check if it's completed on the file syCOMMENT
LOW…/elasticsearch/cluster/routing/GlobalRoutingTable.java54 // Step 1: Iterable over all ShardRouting entries in the nodes and split them by owning project-idCOMMENT
LOW…/elasticsearch/cluster/routing/GlobalRoutingTable.java73 // Step 2: Where necessary, build a new routing table for each project based on the shard routingCOMMENT
LOW…arch/cluster/metadata/IndexNameExpressionResolver.java2299 // We need to check if there was a selector present, and validate if it was allowedCOMMENT
LOW…icsearch/persistent/PersistentTasksClusterService.java603 // We need to check if removed nodes were running any of the tasks and reassign themCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3056 // Step 1: Set repository generation state to the next possible pending generationCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3143 // Step 2: Write new index-N blob to repository and update index.latestCOMMENT
LOW…search/repositories/blobstore/BlobStoreRepository.java3226 // Step 3: Update CS to reflect new repository generation.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java74 // Step 1: directed diversity-pruned edges from kNN neighborhoods + immediate reverse edges.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java99 // Step 2: re-prune any node whose degree exceeded maxConn due to reverse edges.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java210 // Step 1: directed diversity-pruned edges among levelNodes.COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java225 // Step 2: symmetrize — for each directed edge i→j, add reverse j→i (global ordinals).COMMENT
LOW…a/org/elasticsearch/index/codec/vectors/HnswUtils.java237 // Step 3: re-prune any oversize node.COMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java470 // Step 1: Mass-weighted seed selection — each seed is sampled proportional toCOMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java475 // Step 2: Capacity-constrained greedy assignment — single pass, no iteration.COMMENT
LOW⚡…ch/index/codec/vectors/cluster/HierarchicalKMeans.java480 // Step 3: Compute size-weighted mean centroid for each meta-cluster.COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java459 // Step 1: Read packed codes via the scorer (produces raw dot products).COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java466 // Step 2: Read corrections in SoA order (IndexInput is now past the codes, at the corrections)COMMENT
LOW⚡…search/index/codec/vectors/ash/AshPostingsVisitor.java476 // Step 3: Apply per-vector corrections and similarity conversionCOMMENT
LOW…asticsearch/reservedstate/ActionWithReservedState.java29 * We need to check if certain settings or entities are allowed to be modified by the master nodeCOMMENT
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java684 // Step 1: combine adjacent byte-pairs into 16-bit values: d0*10+d1, d2*10+d3, ...COMMENT
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java690 // Step 2: combine adjacent 16-bit pairs into 32-bit valuesCOMMENT
LOW⚡…a/org/elasticsearch/simdjson/SimdJsonDirectWalker.java694 // Step 3: combine into single 64-bit valueCOMMENT
LOW⚡libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp208 // Step 1: reduce pairsCOMMENT
LOW⚡libs/simdvec/native/src/vec/c/amd64/vec_bbq_2.cpp212 // Step 2: reduce across 128-bit halvesCOMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java515 // Step 1: find field "a"COMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java526 // Step 2: walk array to index 2COMMENT
LOW…t/provider/json/JsonXContentParserByteOffsetTests.java537 // Step 3: find field "k"COMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java987 // Step 1: Start our upload and upload the new contents as its unique part.COMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java994 // Step 2: List all uploads that are racing to complete, and compute our position in the list. This definiteCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1010 // Step 3: Ensure all other uploads in currentUploads are complete (either successfully, aborted by us oCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1015 // Step 4: Read the current register value. Note that getRegister only has read-after-write semantics buCOMMENT
LOW⚡…org/elasticsearch/repositories/s3/S3BlobContainer.java1025 // Step 5: Perform the compare-and-swap by completing our upload iff the witnessed value matches the expCOMMENT
LOW…org/elasticsearch/repositories/s3/S3BlobContainer.java1039 // Step 6: Complete the listener.COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5252 // Step 1: populate the region (simulates warming — no madvise applied)COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5267 // Step 2: read from cache with madvise in the reader callback (simulates CacheFileReader.doRead).COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5319 // Step 1: populate a region and set MADV_RANDOM via the fill handler (simulates .vec file)COMMENT
LOW⚡…arch/blobcache/shared/SharedBlobCacheServiceTests.java5335 // Step 2: evict the region by triggering decay and allocating a new keyCOMMENT
LOW⚡…arch/blobcache/shared/SharedBlobCacheServiceTests.java5340 // Step 3: populate the reused region (simulates warming for .doc file — no madvise)COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5354 // Step 4: read with MADV_NORMAL in the reader callback (simulates CacheFileReader.doRead for .doc).COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5407 // Step 1: populate the region (simulates warming — no madvise applied)COMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5422 // Step 2: use the tryRead fast path with MADV_RANDOMCOMMENT
LOW…arch/blobcache/shared/SharedBlobCacheServiceTests.java5433 // Step 3: verify the advice was applied by reading again via populateAndReadCOMMENT
LOW⚡…search/xpack/watcher/WatcherLifeCycleServiceTests.java324 // Step 1: validate() returns false (e.g. index not ready) → state driven to STOPPEDCOMMENT
LOW⚡…search/xpack/watcher/WatcherLifeCycleServiceTests.java330 // Step 2: same routing, validate() now returns true → STOPPED→STARTING, start(CS_S).COMMENT
LOW⚡…search/xpack/watcher/WatcherLifeCycleServiceTests.java338 // Step 3: replica becomes STARTED while start() is still in flight.COMMENT
LOW⚡…search/xpack/watcher/WatcherLifeCycleServiceTests.java348 // Step 4: start()'s success callback fires (reloadInner completes). It must advance stateCOMMENT
LOW…sticsearch/xpack/security/authc/pki/PkiRealmTests.java694 // Step 1: delete the CA file — onFileDeleted fires, reload fails, old TM is preservedSTRING
LOW…sticsearch/xpack/security/authc/pki/PkiRealmTests.java709 // Step 2: create a new file at the same path — onFileCreated fires, reload succeedsSTRING
LOW⚡…rg/elasticsearch/xpack/ml/MlInitializationService.java204 // Step 5: Handle errors encountered on the way.COMMENT
LOW⚡…rg/elasticsearch/xpack/ml/MlInitializationService.java213 // Step 4: Extract ML internal aliases that are not hidden and make them hidden.COMMENT
LOW…rg/elasticsearch/xpack/ml/MlInitializationService.java240 // 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.java252 // Step 2: Extract ML internal indices that are not hidden and make them hidden.COMMENT
LOW…rg/elasticsearch/xpack/ml/MlInitializationService.java273 // Step 1: Fetch ML internal indices settings to find out whether they are already hidden or not.COMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java300 // Step 6: Roll over state indicesCOMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java303 // Step 5: Roll over results indicesCOMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java308 // Step 4: Delete expired dataCOMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java313 // Step 3: Close idle jobs with stopped datafeedsCOMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java318 // Step 2: Reset jobs that are in resetting state without a taskCOMMENT
LOW⚡…/elasticsearch/xpack/ml/MlDailyMaintenanceService.java323 // Step 1: Delete jobs that are in deleting state without a taskCOMMENT
50 more matches not shown…
Decorative Section Separators58 hits · 172 pts
SeverityFileLineSnippetContext
MEDIUM.buildkite/pipelines/agentic-workflow.yml45 # ── Run archimedes ───────────────────────────────────────────────────────────COMMENT
MEDIUM.buildkite/scripts/smart-retry/test-local-flow.sh2# ---------------------------------------------------------------------------COMMENT
MEDIUM.buildkite/scripts/smart-retry/test-local-flow.sh28# ---------------------------------------------------------------------------COMMENT
MEDIUM…/user-agent/src/test/resources/test-mobile-devices.yml2# ===========================COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml19 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml21 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml38 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml40 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml58 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml60 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml71 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml73 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml151 # -------------------------------------------------------------------COMMENT
MEDIUM…ules/user-agent/src/test/resources/test-bot-agents.yml153 # -------------------------------------------------------------------COMMENT
MEDIUM…s/user-agent/src/test/resources/test-robot-devices.yml2# ===========================COMMENT
MEDIUM…/user-agent/src/test/resources/test-tablet-devices.yml2# ===========================COMMENT
MEDIUM…user-agent/src/test/resources/test-desktop-devices.yml2# ===========================COMMENT
MEDIUM…s/user-agent/src/test/resources/test-other-devices.yml2# ===========================COMMENT
MEDIUMmodules/user-agent/src/main/resources/regexes.yml2# ===========================COMMENT
MEDIUM…/user-agent/src/main/resources/device_type_regexes.yml2# ===========================COMMENT
MEDIUM…/mustache/TransportMultiSearchTemplateActionTests.java71 // ── Helper circuit breakers ──────────────────────────────────────────────COMMENT
MEDIUM…/mustache/TransportMultiSearchTemplateActionTests.java244 // ── Helper factories ─────────────────────────────────────────────────────COMMENT
MEDIUM…/mustache/TransportMultiSearchTemplateActionTests.java329 // ── Tests ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…rch/xpack/security/cli/certutil-http/kibana-sample.yml11#-------------------------------------------------------------------------------------------------COMMENT
MEDIUM…rch/xpack/security/cli/certutil-http/kibana-sample.yml21#-------------------------------------------------------------------------------------------------COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java150 // ─── Conformance: passthrough view must agree with direct index query ────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java250 // ─── Stats view: filter on computed field must work ─────────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java296 // ─── Mixed view+index queries ────────────────────────────────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java468 // ─── Views ending in KEEP ────────────────────────────────────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java503 // ─── Views whose body already branches ───────────────────────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java626 // ─── Views vs user-written subqueries ────────────────────────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java711 // ─── Unsupported DSL construct is dropped with a warning ─────────────────────COMMENT
MEDIUM…asticsearch/xpack/esql/action/ViewRequestFilterIT.java749 // ─── View + FORK ──────────────────────────────────────────────────────────────STRING
MEDIUM…csearch/xpack/esql/action/ViewSubqueryUnionTypeIT.java187 // ─── helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java39 // ── Same-side left filter (error) ─────────────────────────────────────────COMMENT
MEDIUM…nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java55 // ── Right-side-only filter, KEEP mapped field (succeeds) ──────────────────COMMENT
MEDIUM…nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java105 // ── Right-side-only filter, KEEP unmapped field (succeeds / errors) ───────COMMENT
MEDIUM…nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java159 // ── Cross-side comparison ─────────────────────────────────────────────────COMMENT
MEDIUM…nalysis/AnalyzerUnmappedLookupJoinExpressionTests.java190 // ── Nonexistent field in ON expression (error) ────────────────────────────COMMENT
MEDIUM…ck/esql/optimizer/LocalPhysicalPlanOptimizerTests.java3734 // ── date_range pushdown tests ──────────────────────────────────────────────COMMENT
MEDIUM…ticsearch/xpack/esql/plugin/SubPlansExecutorTests.java778 // ── profile ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…rch/xpack/esql/datasources/QueryConcurrencyBudget.java449 // ── RowGroupScheduler ──────────────────────────────────────────────────────COMMENT
MEDIUM…rch/xpack/esql/datasources/QueryConcurrencyBudget.java535 // ── grant policy ───────────────────────────────────────────────────────────COMMENT
MEDIUM…rch/xpack/esql/datasources/QueryConcurrencyBudget.java741 // ── test accessors ─────────────────────────────────────────────────────────COMMENT
MEDIUM…k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java209 // ── Failing shapes: bucket hidden, object name visible ───────────────────────────────────COMMENT
MEDIUM…k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java265 // ── Profile: neither user sees the bucket name anywhere in the response ─────────────────COMMENT
MEDIUM…k/esql/datasource/s3/qa/DatasetLocationSecurityIT.java346 // ── Helpers ──────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…l/datasource/s3/S3AddressingStyleInterceptorTests.java55 // ── endpoint absent ───────────────────────────────────────────────────────COMMENT
MEDIUM…l/datasource/s3/S3AddressingStyleInterceptorTests.java73 // ── endpoint present (named host) ─────────────────────────────────────────COMMENT
MEDIUM…l/datasource/s3/S3AddressingStyleInterceptorTests.java91 // ── helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…k/logsdb/patterntext/PatternTextUtf8SplitterTests.java321 // ── Zero-copy fast paths ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh89# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh110# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh112# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh149# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh151# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh206# ===========================================================================COMMENT
MEDIUMbuild-tools/gradle-runner/test-runner.sh208# ===========================================================================COMMENT
Self-Referential Comments47 hits · 140 pts
SeverityFileLineSnippetContext
MEDIUM.ci/matrix-runtime-javas.yml1# This file is used as part of a matrix build in Jenkins where theCOMMENT
MEDIUM.ci/matrix-runtime-javas-fips.yml1# This file is used as part of a matrix build in Jenkins where theCOMMENT
MEDIUM…esources/rest-api-spec/test/multi_cluster/100_tsdb.yml3 # 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.yml24 # Create an index with a filter referencing both synonym setsCOMMENT
MEDIUM…rest-api-spec/test/synonyms/80_synonyms_from_index.yml5 # Create a new synonyms setCOMMENT
MEDIUM…rest-api-spec/test/synonyms/80_synonyms_from_index.yml16 # Create an index with synonym_filter that uses that synonyms setCOMMENT
MEDIUM…t-api-spec/test/repositories/10_default_repository.yml175 # Create a read-only repositoryCOMMENT
MEDIUM…c/test/search.vectors/172_knn_query_base64_vectors.yml407 # Create an index with dynamic dimensions (dims not specified) and no documentsCOMMENT
MEDIUM…t/indices.resolve_index/25_resolve_index_with_mode.yml20 # Create a standard indexCOMMENT
MEDIUM…t/indices.resolve_index/25_resolve_index_with_mode.yml29 # Create a time-series indexCOMMENT
MEDIUM…indices.resolve_index/30_resolve_index_mode_filter.yml13 # Create a time-series indexCOMMENT
MEDIUM…indices.resolve_index/30_resolve_index_mode_filter.yml36 # Create a lookup indexCOMMENT
MEDIUM.buildkite/pipelines/intake.yml1# This file is auto-generated. See .buildkite/pipelines/intake.template.ymlCOMMENT
MEDIUM.buildkite/pipelines/periodic.yml1# This file is auto-generated. See .buildkite/pipelines/periodic.template.ymlCOMMENT
MEDIUM.buildkite/pipelines/periodic-java-ea.yml1# This file is auto-generated. See .buildkite/pipelines/periodic-java-ea.template.ymlCOMMENT
MEDIUM.buildkite/pipelines/periodic-packaging.yml1# This file is auto-generated. See .buildkite/pipelines/periodic-packaging.template.ymlCOMMENT
MEDIUM.buildkite/pipelines/periodic-fwc.yml1# This file is auto-generated. See .buildkite/pipelines/periodic-fwc.template.ymlCOMMENT
MEDIUM…sources/rest-api-spec/test/repository_url/10_basic.yml37 # Create a first snapshot using the FS repositoryCOMMENT
MEDIUM…sources/rest-api-spec/test/repository_url/10_basic.yml66 # Create a second snapshotCOMMENT
MEDIUM…test/ingest/350_recover_failure_document_processor.yml24 # Create a pipeline that will cause mapping failuresCOMMENT
MEDIUM…test/ingest/350_recover_failure_document_processor.yml35 # Create a remediation-pipeline with the recover_failure_document processorCOMMENT
MEDIUM…test/ingest/350_recover_failure_document_processor.yml68 # Create the data stream by indexing a documentCOMMENT
MEDIUM…urces/rest-api-spec/test/ingest/25_pipeline_limits.yml78 # 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.yml65 # Create a first snapshotCOMMENT
MEDIUM…es/rest-api-spec/test/repository_gcs/20_repository.yml114 # Create a second snapshotCOMMENT
MEDIUM…/rest-api-spec/test/repository_azure/20_repository.yml65 # Create a first snapshotCOMMENT
MEDIUM…/rest-api-spec/test/repository_azure/20_repository.yml114 # Create a second snapshotCOMMENT
MEDIUM…lasticsearch/xpack/security/cli/AutoConfigureNode.java782 bw.write("# Create a new cluster with the current node only");CODE
MEDIUM…ch/search/56_search_application_search_with_apikey.yml344 # Creating an API key which can only search 'test-search-application-1'COMMENT
MEDIUM…c/test/inference/70_text_similarity_rank_retriever.yml335 # Create an empty index that will have an earlier shard index than the index with the desired result when referencedCOMMENT
MEDIUM…common/src/main/resources/test_queries_date_nanos.toml1# This file is populated with additional EQL queries regarding date tests that were not present in the original EQL pythCOMMENT
MEDIUM…common/src/main/resources/additional_test_queries.toml1# This file is populated with additional EQL queries that were not present in the original EQL python implementationCOMMENT
MEDIUM…ql/qa/common/src/main/resources/test_queries_date.toml1# This file is populated with additional EQL queries regarding date tests that were not present in the original EQL pythCOMMENT
MEDIUM…RestTest/resources/rest-api-spec/test/ilm/10_basic.yml438 # Create a policy with rollover but without max_sizeCOMMENT
MEDIUM…ram/30_aggregate_metric_aggregations_compatibility.yml6 # Create an index template for the data stream with aggregate_metric_double fieldCOMMENT
MEDIUM…ram/30_aggregate_metric_aggregations_compatibility.yml23 # Create the data streamCOMMENT
MEDIUM…am/40_tdigest_histogram_aggregations_compatibility.yml5 # Create an index template for the data stream with histogram fieldCOMMENT
MEDIUM…am/40_tdigest_histogram_aggregations_compatibility.yml18 # Create the data streamCOMMENT
MEDIUM…est/resources/rest-api-spec/test/columnar/10_usage.yml140 # Create a DLM-managed columnar data streamCOMMENT
MEDIUM…est/resources/rest-api-spec/test/columnar/10_usage.yml163 # Create an ILM-managed columnar data streamCOMMENT
MEDIUM…est/resources/rest-api-spec/test/columnar/10_usage.yml195 # Create an unmanaged columnar data streamCOMMENT
MEDIUM…t/resources/rest-api-spec/test/terms_enum/10_basic.yml665 # Create an API key with all DLS permissions, but it is still bounded by the owner user's permissionsCOMMENT
MEDIUM…s/rest-api-spec/test/security/authz/15_auto_create.yml70 # Create the logs-barbaz with the superuserCOMMENT
MEDIUM…ources/rest-api-spec/test/logsdb_columnar/10_usage.yml139 # Create a DLM-managed logsdb_columnar data streamCOMMENT
MEDIUM…ources/rest-api-spec/test/logsdb_columnar/10_usage.yml162 # Create an unmanaged logsdb_columnar data streamCOMMENT
MEDIUM…ources/rest-api-spec/test/logsdb_columnar/10_usage.yml211 # Create an ILM-managed logsdb_columnar data streamCOMMENT
MEDIUM…ources/rest-api-spec/test/logsdb_columnar/10_usage.yml243 # Create an unmanaged logsdb_columnar data streamCOMMENT
Hyper-Verbose Identifiers93 hits · 92 pts
SeverityFileLineSnippetContext
LOW…csearch/transport/AbstractSimpleTransportTestCase.java2146 class TestRequestHandler implements TransportRequestHandler<TestRequest> {CODE
LOW…csearch/transport/AbstractSimpleTransportTestCase.java2224 class TestResponseHandler implements TransportResponseHandler<TestResponse> {CODE
LOW…g/elasticsearch/http/ResponseInjectingHttpHandler.java73 public static class FixedRequestHandler implements RequestHandler {CODE
LOW…st/java/org/elasticsearch/action/IndicesRequestIT.java747 private class InterceptingRequestHandler<T extends TransportRequest> implements TransportRequestHandler<T> {CODE
LOW…ticsearch/cluster/coordination/LeaderCheckerTests.java557 private static class CapturingTransportResponseHandler implements TransportResponseHandler<ActionResponse.Empty> {CODE
LOW…va/org/elasticsearch/tasks/BanFailureLoggingTests.java220 private static class ChildResponseHandler extends TransportResponseHandler.Empty {CODE
LOW…a/org/elasticsearch/transport/InboundHandlerTests.java734 private abstract static class CapturingResponseHandler implements TransportResponseHandler<TestResponse> {CODE
LOW…rg/elasticsearch/cluster/coordination/Publication.java361 private class PublishResponseHandler implements ActionListener<PublishWithJoinResponse> {CODE
LOW…rg/elasticsearch/cluster/coordination/Publication.java432 private class ApplyCommitResponseHandler implements ActionListener<Void> {CODE
LOW…rch/cluster/coordination/CleanableResponseHandler.java24public class CleanableResponseHandler<T extends TransportResponse> extends ActionListenerResponseHandler<T> {CODE
LOW…a/org/elasticsearch/tasks/TaskCancellationService.java350 private class BanParentRequestHandler implements TransportRequestHandler<BanParentTaskRequest> {CODE
LOW…a/org/elasticsearch/tasks/TaskCancellationService.java409 private class CancelChildRequestHandler implements TransportRequestHandler<CancelChildRequest> {CODE
LOW…search/indices/recovery/PeerRecoveryTargetService.java527 class HandoffPrimaryContextRequestHandler implements TransportRequestHandler<RecoveryHandoffPrimaryContextRequest> {CODE
LOW…search/indices/recovery/PeerRecoveryTargetService.java559 private class TranslogOperationsRequestHandler extends RecoveryRequestHandler<RecoveryTranslogOperationsRequest> {CODE
LOW…search/indices/recovery/PeerRecoveryTargetService.java642 private abstract class RecoveryRequestHandler<T extends RecoveryTransportRequest> implements TransportRequestHandlerCODE
LOW…search/indices/recovery/PeerRecoveryTargetService.java667 private class FileChunkTransportRequestHandler extends RecoveryRequestHandler<RecoveryFileChunkRequest> {CODE
LOW…search/indices/recovery/PeerRecoveryTargetService.java738 private class RecoveryResponseHandler implements TransportResponseHandler<RecoveryResponse> {CODE
LOW…java/org/elasticsearch/indices/store/IndicesStore.java266 private class ShardActiveResponseHandler implements TransportResponseHandler<ShardActiveResponse> {CODE
LOW…java/org/elasticsearch/indices/store/IndicesStore.java368 private class ShardActiveRequestHandler implements TransportRequestHandler<ShardActiveRequest> {CODE
LOW…g/elasticsearch/transport/SniffConnectionStrategy.java267 private class RemoteClusterNodesSniffResponseHandler extends AbstractSniffResponseHandler<RemoteClusterNodesAction.RCODE
LOW…g/elasticsearch/transport/SniffConnectionStrategy.java287 private class ClusterStateSniffResponseHandler extends AbstractSniffResponseHandler<ClusterStateResponse> {CODE
LOW…g/elasticsearch/transport/SniffConnectionStrategy.java308 private abstract class AbstractSniffResponseHandler<T extends TransportResponse> implements TransportResponseHandlerCODE
LOW…a/org/elasticsearch/transport/TransportHandshaker.java285 private class HandshakeResponseHandler implements TransportResponseHandler<HandshakeResponse> {CODE
LOW…java/org/elasticsearch/transport/TransportService.java1660 public static final class ContextRestoreResponseHandler<T extends TransportResponse> implements TransportResponseHanCODE
LOW…/org/elasticsearch/transport/TransportActionProxy.java37 private static class ProxyRequestHandler<T extends ProxyRequest<TransportRequest>> implements TransportRequestHandleCODE
LOW…lasticsearch/action/ActionListenerResponseHandler.java26public class ActionListenerResponseHandler<Response extends TransportResponse> implements TransportResponseHandler<RespoCODE
LOW…elasticsearch/action/search/TransportSearchAction.java1195 static final class RemoteResponseHandler extends ActionListenerResponseHandler<SearchResponse> {CODE
LOW…arch/action/search/TransportOpenPointInTimeAction.java625 private class ShardOpenReaderRequestHandler implements TransportRequestHandler<ShardOpenReaderRequest> {CODE
LOW…ort/broadcast/node/TransportBroadcastByNodeAction.java410 class BroadcastByNodeTransportRequestHandler implements TransportRequestHandler<NodeRequest> {CODE
LOW…elasticsearch/gateway/LocalAllocateDangledIndices.java100 class AllocateDangledRequestHandler implements TransportRequestHandler<AllocateDangledRequest> {CODE
LOW…ch/http/netty4/Netty4IncrementalRequestHandlingIT.java933 static class ServerRequestHandler implements BaseRestHandler.RequestBodyChunkConsumer {STRING
LOW…ain/resources/org/elasticsearch/painless/java.util.txt142 def getOrDefault(def,def)CODE
LOW…earch/client/sniff/ElasticsearchNodesSnifferTests.java157 private static class ResponseHandler implements HttpHandler {CODE
LOW…/elasticsearch/client/RestClientBuilderIntegTests.java75 private static class ResponseHandler implements HttpHandler {CODE
LOW…icsearch/client/RestClientMultipleHostsIntegTests.java153 private static class ResponseHandler implements HttpHandler {CODE
LOW…asticsearch/client/RestClientSingleHostIntegTests.java129 private static class ResponseHandler implements HttpHandler {CODE
LOW…asticsearch/client/RestClientGzipCompressionTests.java68 private static class GzipResponseHandler implements HttpHandler {CODE
LOW…rity/transport/SecurityServerTransportInterceptor.java267 public static class ProfileSecuredRequestHandler<T extends TransportRequest> implements TransportRequestHandler<T> {CODE
LOW…authc/saml/DefaultSamlAuthenticateResponseHandler.java22public final class DefaultSamlAuthenticateResponseHandler implements SamlAuthenticateResponseHandler {CODE
LOW…ack/security/authc/saml/SamlLogoutResponseHandler.java19public class SamlLogoutResponseHandler extends SamlResponseHandler {CODE
LOW…pack/security/authc/saml/SamlLogoutRequestHandler.java28public class SamlLogoutRequestHandler extends SamlObjectHandler {CODE
LOW…rch/xpack/security/authc/saml/SamlResponseHandler.java24public class SamlResponseHandler extends SamlObjectHandler {CODE
LOW…external/http/retry/AlwaysRetryingResponseHandler.java26public class AlwaysRetryingResponseHandler implements ResponseHandler {CODE
LOW…nal/http/retry/ChatCompletionErrorResponseHandler.java23public class ChatCompletionErrorResponseHandler {CODE
LOW…inference/external/http/retry/BaseResponseHandler.java26public abstract class BaseResponseHandler implements ResponseHandler {CODE
LOW…i/embeddings/OpenShiftAiEmbeddingsResponseHandler.java18public class OpenShiftAiEmbeddingsResponseHandler extends OpenAiResponseHandler {CODE
LOW…i/completion/OpenShiftAiCompletionResponseHandler.java17public class OpenShiftAiCompletionResponseHandler extends OpenAiCompletionResponseHandler {CODE
LOW…mpletion/OpenShiftAiChatCompletionResponseHandler.java19public class OpenShiftAiChatCompletionResponseHandler extends OpenAiUnifiedChatCompletionResponseHandler {CODE
LOW…e/services/fireworksai/FireworksAiResponseHandler.java22public class FireworksAiResponseHandler extends BaseResponseHandler {CODE
LOW…ference/services/voyageai/VoyageAIResponseHandler.java21public class VoyageAIResponseHandler extends BaseResponseHandler {CODE
LOW…k/inference/services/cohere/CohereResponseHandler.java34public class CohereResponseHandler extends BaseResponseHandler {CODE
LOW…k/inference/services/jinaai/JinaAIResponseHandler.java21public class JinaAIResponseHandler extends BaseResponseHandler {CODE
LOW…services/contextualai/ContextualAiResponseHandler.java20public class ContextualAiResponseHandler extends BaseResponseHandler {CODE
LOW…/ElasticInferenceServiceCompletionResponseHandler.java33public class ElasticInferenceServiceCompletionResponseHandler extends ElasticInferenceServiceResponseHandler {CODE
LOW…es/elastic/ElasticInferenceServiceResponseHandler.java20public class ElasticInferenceServiceResponseHandler extends BaseResponseHandler {CODE
LOW…erenceServiceUnifiedChatCompletionResponseHandler.java41public class ElasticInferenceServiceUnifiedChatCompletionResponseHandler extends ElasticInferenceServiceResponseHandler CODE
LOW…on/ElasticInferenceServiceDecisionResponseHandler.java17public class ElasticInferenceServiceDecisionResponseHandler extends ElasticInferenceServiceResponseHandler {CODE
LOW…lasticInferenceServiceAuthorizationRequestHandler.java47public class ElasticInferenceServiceAuthorizationRequestHandler {CODE
LOW…e/services/azureopenai/AzureOpenAiResponseHandler.java19public class AzureOpenAiResponseHandler extends OpenAiResponseHandler {CODE
LOW…esponse/AzureMistralOpenAiExternalResponseHandler.java36public class AzureMistralOpenAiExternalResponseHandler extends BaseResponseHandler {CODE
33 more matches not shown…
Modern AI Meta-Vocabulary25 hits · 88 pts
SeverityFileLineSnippetContext
MEDIUMcatalog-info.yaml571 url: https://buildkite.com/elastic/elasticsearch-agentic-workflowCODE
MEDIUMdocs/reference/ingest-processor/inference-processor.md515## Zero shot classification configuration options [inference-processor-zero-shot-opt]COMMENT
MEDIUM.github/workflows/trigger-bug-analysis.yml109 --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \CODE
MEDIUM.github/workflows/trigger-test-analysis.yml115 --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \CODE
MEDIUM.github/workflows/review-test-analysis.yml96 --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \CODE
MEDIUM.github/workflows/review-bug-analysis.yml96 --url "https://api.buildkite.com/v2/organizations/elastic/pipelines/elasticsearch-agentic-workflow/builds" \CODE
MEDIUM.buildkite/pipelines/agentic-workflow.yml4# elasticsearch-agentic-workflowCOMMENT
MEDIUM.buildkite/pipelines/agentic-workflow.yml6# On-demand agentic CI workflows powered by the self-contained archimedes CLICOMMENT
MEDIUM.buildkite/pipelines/agentic-workflow.yml23# curl -X POST ".../pipelines/elasticsearch-agentic-workflow/builds" \COMMENT
MEDIUM⚡.buildkite/pipelines/flakiness-detection-manual.yml14# runs. Read by flakinessScan in the orchestration step,COMMENT
MEDIUM⚡.buildkite/pipelines/flakiness-detection-manual.yml18# flakiness-refs.json and uploads TWO steps: an orchestration step (resolve → compile → scan on a singleCOMMENT
MEDIUM⚡.buildkite/pipelines/flakiness-detection-manual.yml22# Topology: bootstrap → [orchestration (gradle agent) + generate (node agent)] → batch + analyze.COMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml5 # orchestrates the sub-pipeline upload (it runs no Gradle tests). Opt out soCOMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml13 # flakiness-refs.json, then dynamically upload TWO steps: an orchestration stepCOMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml16 # generate step reads the plan the orchestration step shipped and uploads the batch +COMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml21 # Topology: bootstrap → [orchestration (gradle agent) + generate (node agent)] → batch + analyze.COMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml23 # Keyed under flakiness-orchestration:, never flakiness-detection: - an external metric predicateCOMMENT
MEDIUM⚡…ildkite/pipelines/pull-request/flakiness-detection.yml33 # Uploaded so the orchestration step (fresh agent) can download it. The orchestration step andCOMMENT
MEDIUM.buildkite/scripts/archimedes-env.sh4# provision secrets for the elasticsearch-agentic-workflow pipeline.COMMENT
MEDIUM⚡.buildkite/scripts/archimedes-env.sh18# Defense-in-depth pipeline gate: only the agentic-workflow pipeline may readCOMMENT
MEDIUM⚡.buildkite/scripts/archimedes-env.sh19# the agentic-workflows secrets. Any other pipeline setting USE_ARCHIMEDES=trueCOMMENT
MEDIUM⚡.buildkite/scripts/archimedes-env.sh20# fails again here before the first agentic-workflows vault access.COMMENT
MEDIUM…ite/scripts/flakiness-detection/runners/orchestrate.sh3# The flakiness orchestration step: resolve -> compile -> scan, sequentially on ONE gradle agent, becauseCOMMENT
MEDIUM…t-api-spec/test/ml/search_knn_query_vector_builder.yml1# This test uses the same text embedding model from `text_embedding_search-yml`COMMENT
MEDIUM…ources/rest-api-spec/test/ml/text_embedding_search.yml1# This test uses the simple text embedding model fromCOMMENT
Magic Placeholder Names7 hits · 45 pts
SeverityFileLineSnippetContext
HIGH…cs/reference/query-languages/promql/promql-tutorial.md42export API_KEY="your-api-key"CODE
HIGH⚡…-connectors/es-postgresql-connector-client-tutorial.md86 api_key: "<YOUR-API-KEY>" # Your top-level Elasticsearch API keyCODE
HIGH⚡…-connectors/es-postgresql-connector-client-tutorial.md86 api_key: "<YOUR-API-KEY>" # Your top-level Elasticsearch API keyCODE
HIGH⚡…-connectors/es-postgresql-connector-client-tutorial.md91 api_key: "<YOUR-API-KEY>" # Your scoped connector index API key (optional). If not provided, the top-level API kCODE
HIGH⚡…-connectors/es-postgresql-connector-client-tutorial.md91 api_key: "<YOUR-API-KEY>" # Your scoped connector index API key (optional). If not provided, the top-level API kCODE
HIGH…ce/services/tencentcloud/TencentCloudServiceTests.java116 "description": "The TencentCloud AI Gateway API key. Contact the administrator to obtainCODE
HIGH…ference/services/tencentcloud/TencentCloudService.java402 "The TencentCloud AI Gateway API key. Contact the administrator to obtain a token in the format CODE
Synthetic Comment Markers5 hits · 32 pts
SeverityFileLineSnippetContext
HIGH…sticsearch/indices/recovery/RecoverySourceHandler.java934 // existing lease we (approximately) know that all our peers are also retaining history as requested by the COMMENT
HIGH…java/org/elasticsearch/snapshots/SnapshotsService.java459 /// Clone a snapshot as requested by the given [CloneSnapshotRequest].COMMENT
HIGH…a/org/elasticsearch/ingest/common/DateFormatTests.java124 // this means that hour will be 01:00 at -02:00 as timezone on a pattern. Converted to -01:00 as requested on inCOMMENT
HIGH…ck/profiling/action/TransportGetStackTracesAction.java446 // we can have up to 2x more events in the response as requested by the user.COMMENT
HIGH…org/elasticsearch/xpack/esql/action/FromDatasetIT.java5470 // exclusion carries no wildcard of its own, so a concrete index counts as requested and a patternSTRING
Slop Phrases7 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…dle/internal/precommit/ValidateJsonNoKeywordsTask.java56 * The keywords are defined in a JSON file, although it's worth noting that what is and isn't aCOMMENT
LOWdistribution/src/config/elasticsearch.yml4# Before you set out to tweak and tune the configuration, make sure youCOMMENT
LOW…/search/fetch/subphase/highlight/HighlightBuilder.java449 * the named field. If you provide a list of fields here then don't forget to include name asCOMMENT
LOW…ty/action/stats/GetSecurityStatsNodeResponseTests.java43 // DiscoverNode#hashCode only tests ephemeralId, so make sure to change it tooCOMMENT
LOW…sticsearch/xpack/core/ilm/OperationModeUpdateTask.java31 * task might run at {@link Priority#IMMEDIATE} priority so please make sure to keep this task as lightweight as possiblCOMMENT
MEDIUM…arch/xpack/stateless/StatelessHollowIndexShardsIT.java3146 // and the snapshot is aborted or has some relevant exception from the following. Feel free to aCOMMENT
LOW…ack/lucene/bwc/codecs/index/LegacyBinaryDocValues.java38 * re-used across calls to {@link #get(int)} so make sure toCOMMENT
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOW…st/compat/compat/AbstractYamlRestCompatTestPlugin.java296 // TODO: implement custom extension that allows us move around of the projects between major versions and still findCOMMENT
LOW…/src/main/java/org/elasticsearch/test/TestCluster.java273 // TODO: implement me once views are used in integration testsCOMMENT
LOW…ain/java/org/elasticsearch/index/mapper/TestBlock.java621 // TODO: implement when neededCOMMENT
LOW…elasticsearch/license/LicensesManagerServiceTests.java78 // TODO: Add test/feature blocking the registration of basic licenseCOMMENT
LOW…ck/core/termsenum/action/TransportTermsEnumAction.java733 // TODO: Handle exceptions in the atomic response arrayCOMMENT
LOW…va/org/elasticsearch/xpack/shutdown/ShutdownTests.java14 // TODO: implement testsCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWlibs/native-toolchain/build_cross_toolchain_image.sh18# Usage:COMMENT
LOW…kite/scripts/flakiness-detection/runners/never-fail.sh13# Usage:COMMENT
LOW.buildkite/scripts/smart-retry/test-local-flow.sh8# Usage:COMMENT
LOWbuild-tools/gradle-runner/test-runner.sh12# Usage:COMMENT
AI Response Leakage1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…rence/elasticsearch/mapping-reference/semantic-text.md824. (Optional) Overrides the [chunking settings](/reference/elasticsearch/mapping-reference/semantic-text-reference.md#chCODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWx-pack/plugin/sql/connectors/tableau/tdvt/tdvt_run.py99CODE
LOWx-pack/plugin/sql/connectors/tableau/tdvt/tdvt_run.py141CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.buildkite/scripts/trigger-if-java-ea-new-build.sh54# Check if timestamp is within last 24 hoursCOMMENT