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()
234234 . TreeLevels ( 2 )
235235 . DistanceErrorPercentage ( 0.025 )
236236 )
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+ )
237246 )
238247 ) ;
239248
Original file line number Diff line number Diff line change @@ -36,19 +36,19 @@ public CompletionMappingDescriptor<T> IndexAnalyzer(string name)
3636 return this ;
3737 }
3838
39- public CompletionMappingDescriptor < T > Payloads ( bool payloads )
39+ public CompletionMappingDescriptor < T > Payloads ( bool payloads = true )
4040 {
4141 this . _Mapping . Payloads = payloads ;
4242 return this ;
4343 }
4444
45- public CompletionMappingDescriptor < T > PreserveSeparators ( bool preserveSeparators )
45+ public CompletionMappingDescriptor < T > PreserveSeparators ( bool preserveSeparators = true )
4646 {
4747 this . _Mapping . PreserveSeparators = preserveSeparators ;
4848 return this ;
4949 }
5050
51- public CompletionMappingDescriptor < T > PreservePositionIncrements ( bool preservePositionIncrements )
51+ public CompletionMappingDescriptor < T > PreservePositionIncrements ( bool preservePositionIncrements = true )
5252 {
5353 this . _Mapping . PreservePositionIncrements = preservePositionIncrements ;
5454 return this ;
You can’t perform that action at this time.
0 commit comments