From bff967b2862d7674057280821ac29ee1e606fa87 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 4 Apr 2017 12:32:36 +0000 Subject: Add comments. --- .../searchcore/proton/attribute/attribute_specs_builder.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'searchcore') diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_specs_builder.h b/searchcore/src/vespa/searchcore/proton/attribute/attribute_specs_builder.h index 509a2e511bc..4c979a1f4f0 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_specs_builder.h +++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_specs_builder.h @@ -15,7 +15,8 @@ namespace proton { class IDocumentTypeInspector; /* - * Class to build adjusted attribute config and vector of attribute specs. + * Class to build adjusted attribute config and vector of attribute specs + * to eliminate need for reprocessing when system is online. */ class AttributeSpecsBuilder { @@ -31,7 +32,15 @@ public: AttributeSpecsBuilder(); ~AttributeSpecsBuilder(); + /* + * Setup called from document db comfig manager and document db + * config scout. No adjustments. + */ void setup(const AttributesConfig &newConfig); + /* + * Setup to avoid reprocessing, used to create adjusted document db + * config before applying new config when system is online. + */ void setup(const AttributesConfig &oldAttributesConfig, const AttributesConfig &newAttributesConfig, const IndexschemaConfig &oldIndexschemaConfig, -- cgit v1.2.3