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

SolrNet

SolrNet.Mapping.Validation.Rules.UniqueKeyMatchesMappingRule Class Reference

Validation rule for making sure the uniqueKey mapped in the type is the same as in the Solr schema. More...

Inheritance diagram for SolrNet.Mapping.Validation.Rules.UniqueKeyMatchesMappingRule:

List of all members.

Public Member Functions

IEnumerable< ValidationResultValidate (Type documentType, SolrSchema solrSchema, IReadOnlyMappingManager mappingManager)
 Validates that the uniqueKey mapped in the type is the same as in the Solr schema.

Detailed Description

Validation rule for making sure the uniqueKey mapped in the type is the same as in the Solr schema.


Member Function Documentation

IEnumerable<ValidationResult> SolrNet.Mapping.Validation.Rules.UniqueKeyMatchesMappingRule.Validate ( Type  documentType,
SolrSchema  solrSchema,
IReadOnlyMappingManager  mappingManager 
)

Validates that the uniqueKey mapped in the type is the same as in the Solr schema.

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/UniqueKeyMatchesMappingRule.cs
Generated on Sun May 3 2015 17:19:12 for SolrNet by  doxygen 1.7.2