aboutsummaryrefslogtreecommitdiff
path: root/icing/schema/section.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/schema/section.h')
-rw-r--r--icing/schema/section.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/icing/schema/section.h b/icing/schema/section.h
index daf4fd0..7669c97 100644
--- a/icing/schema/section.h
+++ b/icing/schema/section.h
@@ -54,9 +54,9 @@ struct SectionMetadata {
// A unique id of property within a type config
SectionId id;
- // How content in this section should be tokenized. It is invalid for a
- // section to have tokenizer == 'NONE'.
- IndexingConfig::TokenizerType::Code tokenizer;
+ // How strings should be tokenized. It is invalid for a section to have
+ // tokenizer == 'NONE'.
+ StringIndexingConfig::TokenizerType::Code tokenizer;
// How tokens in this section should be matched.
//
@@ -71,7 +71,7 @@ struct SectionMetadata {
TermMatchType::Code term_match_type = TermMatchType::UNKNOWN;
SectionMetadata(SectionId id_in, TermMatchType::Code term_match_type_in,
- IndexingConfig::TokenizerType::Code tokenizer,
+ StringIndexingConfig::TokenizerType::Code tokenizer,
std::string&& path_in)
: path(std::move(path_in)),
id(id_in),