Skip to content

Commit 9325b7f

Browse files
committed
improved MapFromAttributes() xml comment
1 parent 4cf8fe7 commit 9325b7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Nest/DSL/PutMappingDescriptor.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ public PutMappingDescriptor<T> InitializeUsing(RootObjectMapping rootObjectMappi
9999
}
100100

101101
/// <summary>
102-
/// Convenience method to map from most of the object from the attributes/properties.
103-
/// Later calls can override whatever is set is by this call.
104-
/// This helps mapping all the ints as ints, floats as floats etcetera withouth having to be overly verbose in your fluent mapping
102+
/// Convenience method to map as much as it can based on ElasticType attributes set on the type.
103+
/// <pre>This method also automatically sets up mappings for known values types (int, long, double, datetime, etcetera)</pre>
104+
/// <pre>Class types default to object and Enums to int</pre>
105+
/// <pre>Later calls can override whatever is set is by this call.</pre>
105106
/// </summary>
106-
/// <returns></returns>
107107
public PutMappingDescriptor<T> MapFromAttributes(int maxRecursion = 0)
108108
{
109109
//TODO no longer needed when we have an IPutMappingRequest

0 commit comments

Comments
 (0)