summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-04-04 12:32:36 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-04-04 12:32:36 +0000
commitbff967b2862d7674057280821ac29ee1e606fa87 (patch)
tree75b3524a2b60b84f26f32b460cb00f86285c3d41 /searchcore
parent4bef7a1a1b2824a526d352d6c3bf725f423d16e6 (diff)
Add comments.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attribute_specs_builder.h11
1 files changed, 10 insertions, 1 deletions
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,