You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/algolia/models/composition/search_results_item.rb
+43-44Lines changed: 43 additions & 44 deletions
Original file line number
Diff line number
Diff line change
@@ -83,27 +83,27 @@ class SearchResultsItem
83
83
# Whether automatic events collection is enabled for the application.
84
84
attr_accessor:_automatic_insights
85
85
86
-
# The current page of the results.
87
-
attr_accessor:page
86
+
# Search results (hits). Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting.
87
+
attr_accessor:hits
88
+
89
+
# Number of hits returned per page.
90
+
attr_accessor:hits_per_page
88
91
89
92
# Number of results (hits).
90
93
attr_accessor:nb_hits
91
94
92
95
# Number of pages of results.
93
96
attr_accessor:nb_pages
94
97
95
-
# Number of hits returned per page.
96
-
attr_accessor:hits_per_page
98
+
# The current page of the results.
99
+
attr_accessor:page
97
100
98
-
# Search results (hits). Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting.
99
-
attr_accessor:hits
101
+
# URL-encoded string of all search parameters.
102
+
attr_accessor:params
100
103
101
104
# The search query string.
102
105
attr_accessor:query
103
106
104
-
# URL-encoded string of all search parameters.
105
-
attr_accessor:params
106
-
107
107
attr_accessor:compositions
108
108
109
109
# Attribute mapping from ruby-style variable name to JSON key.
0 commit comments