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/inda_hr/ResumeSearchApi.php
+10-36Lines changed: 10 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -1789,21 +1789,19 @@ function ($exception) {
1789
1789
* Create request for operation 'searchResumesPOST'
1790
1790
*
1791
1791
* @param string $indexname (required)
1792
-
* @param bool $cache Optional. Whether the search results should be cached or not. (optional, default to true)
1793
-
* @param int $cache_time Optional. Seconds. Ignored if *cache* is <code style='color: #333333; opacity: 0.9'>false</code>. (optional, default to 300)
1794
1792
* @param int $size Optional. Number of documents to return. (optional, default to 50)
1795
1793
* @param int $offset Optional. Number of documents to skip. Ignored if *cache* is <code style='color: #333333; opacity: 0.9'>true</code>. (optional, default to 0)
* @param string $search_id Both the initial search request and each subsequent scroll request returns a *SearchID*. The *SearchID* may or may not change between requests; however, only the most recently received *SearchID* should be used. (optional)
1798
1795
* @param string $src_lang Queries language. If left empty each query's language will detected automatically, if not it is not explicitly set into the request body. (optional)
1799
1796
* @param string[] $dst_lang Results languages. If left empty then the results will not be filtered by language and the they will contain multi-language results. (optional)
1797
+
* @param string $sort_by Results are sorted by selected field values. (optional)
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['searchResumesPOST'] to see the possible values for this operation
// verify the required parameter 'indexname' is set
@@ -1813,10 +1811,6 @@ public function searchResumesPOSTRequest($indexname, $cache = true, $cache_time
1813
1811
);
1814
1812
}
1815
1813
1816
-
1817
-
if ($cache_time !== null && $cache_time > 600) {
1818
-
thrownew \InvalidArgumentException('invalid value for "$cache_time" when calling ResumeSearchApi.searchResumesPOST, must be smaller than or equal to 600.');
1819
-
}
1820
1814
1821
1815
if ($size !== null && $size > 1000) {
1822
1816
thrownew \InvalidArgumentException('invalid value for "$size" when calling ResumeSearchApi.searchResumesPOST, must be smaller than or equal to 1000.');
@@ -1829,8 +1823,6 @@ public function searchResumesPOSTRequest($indexname, $cache = true, $cache_time
1829
1823
if ($min_score !== null && $min_score < 0.0) {
1830
1824
thrownew \InvalidArgumentException('invalid value for "$min_score" when calling ResumeSearchApi.searchResumesPOST, must be bigger than or equal to 0.0.');
1831
1825
}
1832
-
1833
-
1834
1826
1835
1827
if ($dst_lang !== null && count($dst_lang) > 6) {
1836
1828
thrownew \InvalidArgumentException('invalid value for "$dst_lang" when calling ResumeSearchApi.searchResumesPOST, number of items must be less than or equal to 6.');
@@ -1848,24 +1840,6 @@ public function searchResumesPOSTRequest($indexname, $cache = true, $cache_time
0 commit comments