File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Nest/Domain/Mapping/Descriptors Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -234,6 +234,15 @@ public void MapFluentFull()
234
234
. TreeLevels ( 2 )
235
235
. DistanceErrorPercentage ( 0.025 )
236
236
)
237
+ . Completion ( s=> s
238
+ . Name ( p=> p . Name )
239
+ . IndexAnalyzer ( "standard" )
240
+ . SearchAnalyzer ( "standard" )
241
+ . MaxInputLength ( 20 )
242
+ . Payloads ( )
243
+ . PreservePositionIncrements ( )
244
+ . PreserveSeparators ( )
245
+ )
237
246
)
238
247
) ;
239
248
Original file line number Diff line number Diff line change @@ -36,19 +36,19 @@ public CompletionMappingDescriptor<T> IndexAnalyzer(string name)
36
36
return this ;
37
37
}
38
38
39
- public CompletionMappingDescriptor < T > Payloads ( bool payloads )
39
+ public CompletionMappingDescriptor < T > Payloads ( bool payloads = true )
40
40
{
41
41
this . _Mapping . Payloads = payloads ;
42
42
return this ;
43
43
}
44
44
45
- public CompletionMappingDescriptor < T > PreserveSeparators ( bool preserveSeparators )
45
+ public CompletionMappingDescriptor < T > PreserveSeparators ( bool preserveSeparators = true )
46
46
{
47
47
this . _Mapping . PreserveSeparators = preserveSeparators ;
48
48
return this ;
49
49
}
50
50
51
- public CompletionMappingDescriptor < T > PreservePositionIncrements ( bool preservePositionIncrements )
51
+ public CompletionMappingDescriptor < T > PreservePositionIncrements ( bool preservePositionIncrements = true )
52
52
{
53
53
this . _Mapping . PreservePositionIncrements = preservePositionIncrements ;
54
54
return this ;
You can’t perform that action at this time.
0 commit comments