SolrNet.Mapping.Validation.Rules.RequiredFieldsAreMappedRule Class Reference
Represents a rule validating that all SolrFields in the SolrSchema which are required are either present in the mapping or as a CopyField. More...
Inheritance diagram for SolrNet.Mapping.Validation.Rules.RequiredFieldsAreMappedRule:
Public Member Functions | |
IEnumerable< ValidationResult > | Validate (Type documentType, SolrSchema solrSchema, IReadOnlyMappingManager mappingManager) |
Validates that all SolrFields in the SolrSchema which are required are either present in the mapping or as a CopyField. |
Detailed Description
Represents a rule validating that all SolrFields in the SolrSchema which are required are either present in the mapping or as a CopyField.
Member Function Documentation
IEnumerable<ValidationResult> SolrNet.Mapping.Validation.Rules.RequiredFieldsAreMappedRule.Validate | ( | Type | documentType, |
SolrSchema | solrSchema, | ||
IReadOnlyMappingManager | mappingManager | ||
) |
Validates that all SolrFields in the SolrSchema which are required are either present in the mapping or as a CopyField.
- Parameters:
-
documentType Document type solrSchema The solr schema. mappingManager The mapping manager.
- Returns:
- A collection of ValidationResult objects with any issues found during validation.
Implements SolrNet.Mapping.Validation.Rules.IValidationRule.
The documentation for this class was generated from the following file:
- SolrNet/Mapping/Validation/Rules/RequiredFieldsAreMappedRule.cs
Generated on Sun May 3 2015 17:19:12 for SolrNet by 1.7.2