Skip to content
Commit 7c7d1a27 authored by Stefan Brüns's avatar Stefan Brüns
Browse files

Revert "Implement immutable IndexerConfigData"

This reverts commit c2a74b8b.

The change was merged without maintainer approval, and without prior
notice.

The mix of inheritance and aggregation of data used in the
FileIndexerConfig and FileIndexerConfigData, and likewise in the
IndexerConfig/IndexerConfigData makes the whole implementation quite
complex and even harder to understand and maintain.

The current IndexerConfig currently implments two different sets
of function, which should be separate:

1. Interfacing with the actual config
2. Evaluating indexing decisions based on the config

It is even quite questionable if the second set even should be exposed
to the outside, as it is actually information only applicable internally,
and outside users should not query if a document *should* be indexed, but
if the document *has* been indexed. The latter is exposed via
`Baloo::File`.
parent c2a74b8b
Pipeline #436878 passed with stage
in 1 minute and 30 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment