SolrNet.Mapping.MappingManager Class Reference
Manual mapping manager. More...
Inheritance diagram for SolrNet.Mapping.MappingManager:
Public Member Functions | |
void | Add (PropertyInfo property) |
Maps a property with the property name as Solr field name. | |
void | Add (PropertyInfo property, string fieldName) |
Maps a property. | |
void | Add (PropertyInfo property, string fieldName, float?boost) |
Maps a property. | |
IDictionary< string, SolrFieldModel > | GetFields (Type type) |
Gets fields mapped for this type. | |
void | SetUniqueKey (PropertyInfo property) |
Sets unique key for a document type. | |
SolrFieldModel | GetUniqueKey (Type type) |
Gets unique key for the type. | |
ICollection< Type > | GetRegisteredTypes () |
Gets all registered document types in this mapping manager. |
Detailed Description
Manual mapping manager.
Member Function Documentation
void SolrNet.Mapping.MappingManager.Add | ( | PropertyInfo | property ) |
Maps a property with the property name as Solr field name.
- Parameters:
-
property Document type property
Implements SolrNet.Mapping.IMappingManager.
void SolrNet.Mapping.MappingManager.Add | ( | PropertyInfo | property, |
string | fieldName | ||
) |
Maps a property.
- Parameters:
-
property Document type property fieldName Solr field name
Implements SolrNet.Mapping.IMappingManager.
void SolrNet.Mapping.MappingManager.Add | ( | PropertyInfo | property, |
string | fieldName, | ||
float? | boost | ||
) |
Maps a property.
- Parameters:
-
property Document type property fieldName Solr field name boost Index-time boosting
Implements SolrNet.Mapping.IMappingManager.
IDictionary<string,SolrFieldModel> SolrNet.Mapping.MappingManager.GetFields | ( | Type | type ) |
Gets fields mapped for this type.
- Parameters:
-
type Document type
- Returns:
- Null if type is not mapped
Implements SolrNet.IReadOnlyMappingManager.
ICollection<Type> SolrNet.Mapping.MappingManager.GetRegisteredTypes | ( | ) |
Gets all registered document types in this mapping manager.
- Returns:
Implements SolrNet.IReadOnlyMappingManager.
SolrFieldModel SolrNet.Mapping.MappingManager.GetUniqueKey | ( | Type | type ) |
Gets unique key for the type.
- Parameters:
-
type
- Returns:
- Null if type has no unique key defined
Implements SolrNet.IReadOnlyMappingManager.
void SolrNet.Mapping.MappingManager.SetUniqueKey | ( | PropertyInfo | property ) |
Sets unique key for a document type.
- Parameters:
-
property Document type property
Implements SolrNet.Mapping.IMappingManager.
The documentation for this class was generated from the following file:
- SolrNet/Mapping/MappingManager.cs
Generated on Sun May 3 2015 17:19:11 for SolrNet by 1.7.2