SolrNet.Mapping.Validation.Rules.MappedPropertiesIsInSolrSchemaRule Class Reference
Represents a rule validation that all properties in the mapping are present in the Solr schema as either a SolrField or a DynamicField. More...
Inheritance diagram for SolrNet.Mapping.Validation.Rules.MappedPropertiesIsInSolrSchemaRule:
Public Member Functions | |
IEnumerable< ValidationResult > | Validate (Type documentType, SolrSchema solrSchema, IReadOnlyMappingManager mappingManager) |
Validates that all properties in the mapping are present in the Solr schema as either a SolrField or a DynamicField. | |
Properties | |
ICollection< string > | IgnoredFieldNames [get, set] |
Field names to be ignored. These fields are never checked. |
Detailed Description
Represents a rule validation that all properties in the mapping are present in the Solr schema as either a SolrField or a DynamicField.
Member Function Documentation
IEnumerable<ValidationResult> SolrNet.Mapping.Validation.Rules.MappedPropertiesIsInSolrSchemaRule.Validate | ( | Type | documentType, |
SolrSchema | solrSchema, | ||
IReadOnlyMappingManager | mappingManager | ||
) |
Validates that all properties in the mapping are present in the Solr schema as either a SolrField or a DynamicField.
- 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.
Property Documentation
ICollection<string> SolrNet.Mapping.Validation.Rules.MappedPropertiesIsInSolrSchemaRule.IgnoredFieldNames [get, set] |
Field names to be ignored. These fields are never checked.
The documentation for this class was generated from the following file:
- SolrNet/Mapping/Validation/Rules/MappedPropertiesIsInSolrSchemaRule.cs
Generated on Sun May 3 2015 17:19:12 for SolrNet by 1.7.2