SolrNet: SolrNet.Mapping.Validation.Rules.RequiredFieldsAreMappedRule Class Reference

SolrNet

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:

List of all members.

Public Member Functions

IEnumerable< ValidationResultValidate (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:
documentTypeDocument type
solrSchemaThe solr schema.
mappingManagerThe 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  doxygen 1.7.2