diff options
author | Henning Baldersheim <balder@oath.com> | 2018-06-13 12:09:16 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-06-13 12:09:16 +0200 |
commit | 2d3ef5f86293271cfc9a3698e9c350cd416fafcf (patch) | |
tree | c11b7a53e76724db9fb5ae38ce0aaa8807affb8e /searchlib | |
parent | 63f72488d826d79d5ba2f446832e10fcd28c1860 (diff) |
Reduce code visibility.
Avoid do very frequent hash lookup for something that is always present.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/apps/tests/memoryindexstress_test.cpp | 1 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/index/docbuilder.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/searchlib/src/apps/tests/memoryindexstress_test.cpp b/searchlib/src/apps/tests/memoryindexstress_test.cpp index 1ba264e0bfe..b911284a1b4 100644 --- a/searchlib/src/apps/tests/memoryindexstress_test.cpp +++ b/searchlib/src/apps/tests/memoryindexstress_test.cpp @@ -19,6 +19,7 @@ #include <vespa/document/fieldvalue/document.h> #include <vespa/document/fieldvalue/stringfieldvalue.h> #include <vespa/document/repo/configbuilder.h> +#include <vespa/document/repo/fixedtyperepo.h> #include <vespa/document/annotation/spanlist.h> #include <vespa/document/annotation/spantree.h> #include <vespa/searchlib/util/rand48.h> diff --git a/searchlib/src/vespa/searchlib/index/docbuilder.h b/searchlib/src/vespa/searchlib/index/docbuilder.h index 1d170483783..73c60304f50 100644 --- a/searchlib/src/vespa/searchlib/index/docbuilder.h +++ b/searchlib/src/vespa/searchlib/index/docbuilder.h @@ -4,6 +4,7 @@ #include "doctypebuilder.h" #include <vespa/document/datatype/datatypes.h> +#include <vespa/document/repo/fixedtyperepo.h> #include <vespa/document/fieldvalue/fieldvalues.h> #include <vespa/document/annotation/annotation.h> #include <vespa/document/annotation/span.h> |