File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -594,6 +594,8 @@ typo_tolerance_guide_4: |-
594
594
two_typos: 10
595
595
}
596
596
})
597
+ typo_tolerance_guide_5 : |-
598
+ index('books').update_typo_tolerance({ disable_on_numbers: true })
597
599
search_parameter_guide_facet_stats_1 : |-
598
600
client.index('movie_ratings').search('Batman', {
599
601
facets: ['genres', 'rating']
Original file line number Diff line number Diff line change 584
584
'twoTypos' => 9
585
585
} ,
586
586
'disableOnWords' => [ ] ,
587
- 'disableOnAttributes' => [ ]
587
+ 'disableOnAttributes' => [ ] ,
588
+ 'disableOnNumbers' => false
588
589
}
589
590
end
590
591
595
596
'oneTypo' => 6 ,
596
597
'twoTypos' => 10
597
598
} ,
598
- 'disable_on_words' => [ ] ,
599
- 'disable_on_attributes' => [ 'title' ]
599
+ 'disableOnWords' => [ 'shrek' ] ,
600
+ 'disableOnAttributes' => [ 'title' ] ,
601
+ 'disableOnNumbers' => true
600
602
}
601
603
end
602
604
You can’t perform that action at this time.
0 commit comments