Home
last modified time | relevance | path

Searched refs:property_config (Results 1 – 3 of 3) sorted by relevance

/external/icing/icing/util/
Ddocument-validator.cc103 const PropertyConfigProto& property_config = *property_iter->second; in Validate() local
107 if (property_config.data_type() == PropertyConfigProto::DataType::STRING) { in Validate()
109 } else if (property_config.data_type() == in Validate()
112 } else if (property_config.data_type() == in Validate()
115 } else if (property_config.data_type() == in Validate()
118 } else if (property_config.data_type() == in Validate()
121 } else if (property_config.data_type() == in Validate()
126 if (property_config.cardinality() == in Validate()
135 } else if (property_config.cardinality() == in Validate()
150 if (property_config.data_type() == in Validate()
[all …]
/external/icing/icing/schema/
Dsection-manager.cc72 for (const auto& property_config : sorted_properties) { in AssignSections() local
73 if (property_config.data_type() == in AssignSections()
76 type_config_map.find(property_config.schema_type()); in AssignSections()
81 "Type config not found: ", property_config.schema_type())); in AssignSections()
84 if (property_config.document_indexing_config() in AssignSections()
92 property_config.property_name()), in AssignSections()
98 if (property_config.has_data_type() != in AssignSections()
100 property_config.string_indexing_config().term_match_type() == in AssignSections()
122 property_config.string_indexing_config().term_match_type(), in AssignSections()
123 property_config.string_indexing_config().tokenizer_type(), in AssignSections()
[all …]
Dschema-util.cc221 for (const auto& property_config : type_config.properties()) { in BuildTransitiveDependencyGraph() local
222 if (property_config.data_type() == in BuildTransitiveDependencyGraph()
226 std::string_view property_schema_type(property_config.schema_type()); in BuildTransitiveDependencyGraph()
271 for (const auto& property_config : type_config.properties()) { in Validate() local
272 std::string_view property_name(property_config.property_name()); in Validate()
282 auto data_type = property_config.data_type(); in Validate()
289 std::string_view property_schema_type(property_config.schema_type()); in Validate()
301 ICING_RETURN_IF_ERROR(ValidateCardinality(property_config.cardinality(), in Validate()
306 property_config.string_indexing_config(), data_type, schema_type, in Validate()
412 for (const PropertyConfigProto& property_config : type_config.properties()) { in ParsePropertyConfigs() local
[all …]