Skip to content

Don't store full blob path in ES filename field

Markus Koller requested to merge 7832-only-store-basename-in-filename into master

What does this MR do?

This verifies the changed indexer behaviour from gitlab-elasticsearch-indexer!44 (merged)

We're also renaming the blob-related code to use path rather than filename, to be consistent with the Path field in the ES index, and the intention of this code (which deals with full paths, rather than just filenames).

This also removes the Elasticsearch::Git::LiteBlob class, which isn't used anymore and a leftover from the Ruby indexer which was removed in !15641 (merged)

  • Update version for gitlab-elasticsearch-indexer

Ref: #7832 (closed)

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by Markus Koller

Merge request reports