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

SolrNet

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:

List of all members.

Public Member Functions

IEnumerable< ValidationResultValidate (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:
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.


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  doxygen 1.7.2