code: public ApiSuccessResponse searchContacts(LuceneSearchData luceneSearchData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = searchContactsWithHttpInfo(luceneSearchData);
          return resp.getData();
      }
docs: Search for contacts. If ‘sortCriteria’ or ‘startIndex’ is specified, the query is based on SQL, otherwise on Lucene
  
  @param luceneSearchData  (required)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body