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: algoliasearch/composition/models/search_results_item.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ class SearchResultsItem(BaseModel):
106
106
""" Number of hits selected and sorted by the relevant sort algorithm. """
107
107
parsed_query: Optional[str] =None
108
108
""" Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched. """
109
-
processing_time_ms: int
109
+
processing_time_ms: Optional[int] =None
110
110
""" Time the server took to process the request, in milliseconds. """
111
111
processing_timings_ms: Optional[object] =None
112
112
""" Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues. """
Copy file name to clipboardExpand all lines: algoliasearch/recommend/models/recommendations_results.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ class RecommendationsResults(BaseModel):
100
100
""" Number of hits selected and sorted by the relevant sort algorithm. """
101
101
parsed_query: Optional[str] =None
102
102
""" Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched. """
103
-
processing_time_ms: int
103
+
processing_time_ms: Optional[int] =None
104
104
""" Time the server took to process the request, in milliseconds. """
105
105
processing_timings_ms: Optional[object] =None
106
106
""" Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues. """
Copy file name to clipboardExpand all lines: algoliasearch/search/models/browse_response.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ class BrowseResponse(BaseModel):
103
103
""" Number of hits selected and sorted by the relevant sort algorithm. """
104
104
parsed_query: Optional[str] =None
105
105
""" Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched. """
106
-
processing_time_ms: int
106
+
processing_time_ms: Optional[int] =None
107
107
""" Time the server took to process the request, in milliseconds. """
108
108
processing_timings_ms: Optional[object] =None
109
109
""" Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues. """
Copy file name to clipboardExpand all lines: algoliasearch/search/models/search_response.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ class SearchResponse(BaseModel):
102
102
""" Number of hits selected and sorted by the relevant sort algorithm. """
103
103
parsed_query: Optional[str] =None
104
104
""" Post-[normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean) query string that will be searched. """
105
-
processing_time_ms: int
105
+
processing_time_ms: Optional[int] =None
106
106
""" Time the server took to process the request, in milliseconds. """
107
107
processing_timings_ms: Optional[object] =None
108
108
""" Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues. """
0 commit comments