Skip to content

Skip generated names, data formats and long json/xml at index time - #183

Merged
trick77 merged 2 commits into
masterfrom
index-skip-generated-data
Sep 17, 2026
Merged

trick77 merged 2 commits into
masterfrom
index-skip-generated-data

Conversation

@trick77

@trick77 trick77 commented Sep 17, 2026

Copy link
Copy Markdown
Owner

A translation bundle like i18n/generated-de-CH.json matched every domain word in a question and outranked the code.

The selector now skips by name (generated as a word of the basename or a segment, catalogue formats under i18n/ or locales/, snapshots/, generator suffixes, .lock/.sum), by format (csv, source maps, snapshots, translation catalogues, svg) and json/xml above a data ceiling, 8 KiB by default via BACKEND_INDEX_MAX_DATA_FILE_BYTES. Manifests and hand-written config that outgrows it (pom.xml, package.json, applicationContext.xml, appsettings*.json, bpmn20.xml) are exempt; yaml is never capped. Sizes in docs/measurements/2026-09-17-data-file-cap.md.

The boot sweep re-applies every path-and-size rule, not only the operator's globs, so a new rule retires what an older build embedded, with the matching skip reason on the row.

A translation bundle like i18n/generated-de-CH.json matched every domain
word in a question and outranked the code. The selector now skips by name
(generated in a basename or segment, i18n/, locales/, __snapshots__/,
generator suffixes, .lock/.sum), by format (csv, source maps, snapshots,
translation catalogues, svg) and json/xml above a data ceiling, 8 KiB by
default via BACKEND_INDEX_MAX_DATA_FILE_BYTES; manifests are exempt and
yaml is never capped. The boot sweep re-applies every path-and-size rule,
not only the operator's globs, so a new rule retires what an older build
embedded, with the matching skip reason on the row.
…s a word, tag markers only

Hand-written src/i18n/index.ts, GeneratedIdEntity.java and a README saying
"auto-generated" were caught. Spring, JPA, logging, appsettings and Camunda
bpmn20.xml join the ceiling exemptions.
@trick77
trick77 merged commit cda776c into master Sep 17, 2026
2 checks passed
@trick77
trick77 deleted the index-skip-generated-data branch September 17, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant