@@ -95,6 +95,9 @@ TReturnType Nested<TChild>(Func<NestedPropertyDescriptor<T, TChild>, INestedProp
9595 /// <inheritdoc cref="IShapeProperty"/>
9696 TReturnType Shape ( Func < ShapePropertyDescriptor < T > , IShapeProperty > selector ) ;
9797
98+ /// <inheritdoc cref="IPointProperty"/>
99+ TReturnType Point ( Func < PointPropertyDescriptor < T > , IPointProperty > selector ) ;
100+
98101 /// <inheritdoc cref="ICompletionProperty"/>
99102 TReturnType Completion ( Func < CompletionPropertyDescriptor < T > , ICompletionProperty > selector ) ;
100103
@@ -156,42 +159,64 @@ public PropertiesDescriptor() : base(new Properties<T>()) { }
156159
157160 public PropertiesDescriptor ( IProperties properties ) : base ( properties ?? new Properties < T > ( ) ) { }
158161
162+ /// <inheritdoc cref="IBinaryProperty"/>
159163 public PropertiesDescriptor < T > Binary ( Func < BinaryPropertyDescriptor < T > , IBinaryProperty > selector ) => SetProperty ( selector ) ;
160164
165+ /// <inheritdoc cref="IBooleanProperty"/>
161166 public PropertiesDescriptor < T > Boolean ( Func < BooleanPropertyDescriptor < T > , IBooleanProperty > selector ) => SetProperty ( selector ) ;
162167
168+ /// <inheritdoc cref="ICompletionProperty"/>
163169 public PropertiesDescriptor < T > Completion ( Func < CompletionPropertyDescriptor < T > , ICompletionProperty > selector ) => SetProperty ( selector ) ;
164170
171+ /// <inheritdoc cref="IDateProperty"/>
165172 public PropertiesDescriptor < T > Date ( Func < DatePropertyDescriptor < T > , IDateProperty > selector ) => SetProperty ( selector ) ;
166173
174+ /// <inheritdoc cref="IDateNanosProperty"/>
167175 public PropertiesDescriptor < T > DateNanos ( Func < DateNanosPropertyDescriptor < T > , IDateNanosProperty > selector ) => SetProperty ( selector ) ;
168176
177+ /// <inheritdoc cref="IDateRangeProperty"/>
169178 public PropertiesDescriptor < T > DateRange ( Func < DateRangePropertyDescriptor < T > , IDateRangeProperty > selector ) => SetProperty ( selector ) ;
170179
180+ /// <inheritdoc cref="IDoubleRangeProperty"/>
171181 public PropertiesDescriptor < T > DoubleRange ( Func < DoubleRangePropertyDescriptor < T > , IDoubleRangeProperty > selector ) => SetProperty ( selector ) ;
172182
183+ /// <inheritdoc cref="IFloatRangeProperty"/>
173184 public PropertiesDescriptor < T > FloatRange ( Func < FloatRangePropertyDescriptor < T > , IFloatRangeProperty > selector ) => SetProperty ( selector ) ;
174185
186+ /// <inheritdoc cref="IGeoPointProperty"/>
175187 public PropertiesDescriptor < T > GeoPoint ( Func < GeoPointPropertyDescriptor < T > , IGeoPointProperty > selector ) => SetProperty ( selector ) ;
176188
189+ /// <inheritdoc cref="IGeoShapeProperty"/>
177190 public PropertiesDescriptor < T > GeoShape ( Func < GeoShapePropertyDescriptor < T > , IGeoShapeProperty > selector ) => SetProperty ( selector ) ;
178191
192+ /// <inheritdoc cref="IShapeProperty"/>
179193 public PropertiesDescriptor < T > Shape ( Func < ShapePropertyDescriptor < T > , IShapeProperty > selector ) => SetProperty ( selector ) ;
180194
195+ /// <inheritdoc cref="IPointProperty"/>
196+ public PropertiesDescriptor < T > Point ( Func < PointPropertyDescriptor < T > , IPointProperty > selector ) => SetProperty ( selector ) ;
197+
198+ /// <inheritdoc cref="IIntegerRangeProperty"/>
181199 public PropertiesDescriptor < T > IntegerRange ( Func < IntegerRangePropertyDescriptor < T > , IIntegerRangeProperty > selector ) => SetProperty ( selector ) ;
182200
201+ /// <inheritdoc cref="IIpProperty"/>
183202 public PropertiesDescriptor < T > Ip ( Func < IpPropertyDescriptor < T > , IIpProperty > selector ) => SetProperty ( selector ) ;
184203
204+ /// <inheritdoc cref="IIpRangeProperty"/>
185205 public PropertiesDescriptor < T > IpRange ( Func < IpRangePropertyDescriptor < T > , IIpRangeProperty > selector ) => SetProperty ( selector ) ;
186206
207+ /// <inheritdoc cref="IJoinProperty"/>
187208 public PropertiesDescriptor < T > Join ( Func < JoinPropertyDescriptor < T > , IJoinProperty > selector ) => SetProperty ( selector ) ;
188209
210+ /// <inheritdoc cref="IKeywordProperty"/>
189211 public PropertiesDescriptor < T > Keyword ( Func < KeywordPropertyDescriptor < T > , IKeywordProperty > selector ) => SetProperty ( selector ) ;
190212
213+ /// <inheritdoc cref="ILongRangeProperty"/>
191214 public PropertiesDescriptor < T > LongRange ( Func < LongRangePropertyDescriptor < T > , ILongRangeProperty > selector ) => SetProperty ( selector ) ;
192215
216+ /// <inheritdoc cref="IMurmur3HashProperty"/>
193217 public PropertiesDescriptor < T > Murmur3Hash ( Func < Murmur3HashPropertyDescriptor < T > , IMurmur3HashProperty > selector ) => SetProperty ( selector ) ;
194218
219+ /// <inheritdoc cref="INestedProperty"/>
195220 public PropertiesDescriptor < T > Nested < TChild > ( Func < NestedPropertyDescriptor < T , TChild > , INestedProperty > selector )
196221 where TChild : class => SetProperty ( selector ) ;
197222
@@ -202,18 +227,23 @@ public PropertiesDescriptor<T> Nested<TChild>(Func<NestedPropertyDescriptor<T, T
202227 /// </summary>
203228 public PropertiesDescriptor < T > Number ( Func < NumberPropertyDescriptor < T > , INumberProperty > selector ) => SetProperty ( selector ) ;
204229
230+ /// <inheritdoc cref="IObjectProperty"/>
205231 public PropertiesDescriptor < T > Object < TChild > ( Func < ObjectTypeDescriptor < T , TChild > , IObjectProperty > selector )
206232 where TChild : class => SetProperty ( selector ) ;
207233
234+ /// <inheritdoc cref="IPercolatorProperty"/>
208235 public PropertiesDescriptor < T > Percolator ( Func < PercolatorPropertyDescriptor < T > , IPercolatorProperty > selector ) => SetProperty ( selector ) ;
209236
237+ /// <inheritdoc cref="ITextProperty"/>
210238 public PropertiesDescriptor < T > Text ( Func < TextPropertyDescriptor < T > , ITextProperty > selector ) => SetProperty ( selector ) ;
211239
212240 /// <inheritdoc cref="ISearchAsYouTypeProperty"/>
213241 public PropertiesDescriptor < T > SearchAsYouType ( Func < SearchAsYouTypePropertyDescriptor < T > , ISearchAsYouTypeProperty > selector ) => SetProperty ( selector ) ;
214242
243+ /// <inheritdoc cref="ITokenCountProperty"/>
215244 public PropertiesDescriptor < T > TokenCount ( Func < TokenCountPropertyDescriptor < T > , ITokenCountProperty > selector ) => SetProperty ( selector ) ;
216245
246+ /// <inheritdoc cref="IFieldAliasProperty"/>
217247 public PropertiesDescriptor < T > FieldAlias ( Func < FieldAliasPropertyDescriptor < T > , IFieldAliasProperty > selector ) => SetProperty ( selector ) ;
218248
219249 /// <inheritdoc cref="IRankFeatureProperty"/>
@@ -236,6 +266,9 @@ public PropertiesDescriptor<T> ConstantKeyword(Func<ConstantKeywordPropertyDescr
236266 public PropertiesDescriptor < T > Wildcard ( Func < WildcardPropertyDescriptor < T > , IWildcardProperty > selector ) =>
237267 SetProperty ( selector ) ;
238268
269+ /// <summary>
270+ /// Map a custom property.
271+ /// </summary>
239272 public PropertiesDescriptor < T > Custom ( IProperty customType ) => SetProperty ( customType ) ;
240273
241274 private PropertiesDescriptor < T > SetProperty < TDescriptor , TInterface > ( Func < TDescriptor , TInterface > selector )
0 commit comments