@@ -68,6 +68,23 @@ search_post_1: |-
68
68
client.index('movies').search('American ninja')
69
69
search_get_1 : |-
70
70
client.index('movies').search('American ninja')
71
+ multi_search_1 : |-
72
+ client.multiSearch({ queries: [
73
+ {
74
+ indexUid: 'movies',
75
+ q: 'pooh',
76
+ limit: 5,
77
+ },
78
+ {
79
+ indexUid: 'movies',
80
+ q: 'nemo',
81
+ limit: 5,
82
+ },
83
+ {
84
+ indexUid: 'movie_ratings',
85
+ q: 'us',
86
+ },
87
+ ]})
71
88
get_all_tasks_1 : |-
72
89
client.getTasks()
73
90
get_task_1 : |-
@@ -550,7 +567,7 @@ update_filterable_attributes_1: |-
550
567
])
551
568
reset_filterable_attributes_1 : |-
552
569
client.index('movies').resetFilterableAttributes()
553
- faceted_search_update_settings_1 : |-
570
+ filtering_update_settings_1 : |-
554
571
client.index('movies')
555
572
.updateFilterableAttributes([
556
573
'director',
@@ -571,6 +588,29 @@ faceted_search_walkthrough_filter_1: |-
571
588
.search('thriller', {
572
589
filter: [['genres = Horror', 'genres = Mystery'], 'director = "Jordan Peele"']
573
590
})
591
+ faceted_search_update_settings_1 : |-
592
+ client.index('books').updateFilterableAttributes(['genres', 'rating', 'language'])
593
+ faceted_search_1 : |-
594
+ client.index('books').search('classic', { facets: ['genres', 'rating', 'language'] })
595
+ faceted_search_2 : |-
596
+ client.multiSearch({ queries: [
597
+ {
598
+ indexUid: 'books',
599
+ facets: ['language', 'genres', 'author', 'format'],
600
+ filter: [['language = English', 'language = French'], ['genres = Fiction']]
601
+ },
602
+ {
603
+ indexUid: 'books',
604
+ facets: ['language'],
605
+ filter: [['genres = Fiction']]
606
+ },
607
+ {
608
+ indexUid: 'books',
609
+ facets: ['genres'],
610
+ filter: [['language = English', 'language = French']]
611
+ }
612
+ ]
613
+ })
574
614
post_dump_1 : |-
575
615
client.createDump()
576
616
phrase_search_1 : |-
@@ -628,6 +668,8 @@ search_parameter_guide_sort_1: |-
628
668
client.index('books').search('science fiction', {
629
669
sort: ['price:asc'],
630
670
})
671
+ search_parameter_guide_facet_stats_1 : |-
672
+ client.index('movie_ratings').search('Batman', { facets: ['genres', 'rating'] })
631
673
geosearch_guide_filter_settings_1 : |-
632
674
client.index('restaurants')
633
675
.updateFilterableAttributes([
@@ -641,6 +683,10 @@ geosearch_guide_filter_usage_2: |-
641
683
client.index('restaurants').search('', {
642
684
filter: ['_geoRadius(45.472735, 9.184019, 2000) AND type = pizza'],
643
685
})
686
+ geosearch_guide_filter_usage_3 : |-
687
+ client.index('restaurants').search('', {
688
+ filter: ['_geoBoundingBox([45.494181, 9.179175], [45.449484, 9.214024])'],
689
+ })
644
690
geosearch_guide_sort_settings_1 : |-
645
691
client.index('restaurants').updateSortableAttributes([
646
692
'_geo'
0 commit comments