package com.kryptnostic.search.v1.client;

import java.util.Collection;

import retrofit.http.Body;
import retrofit.http.POST;

import com.kryptnostic.search.v1.models.request.SearchRequest;
import com.kryptnostic.search.v1.models.response.SearchResultResponse;

public interface SearchApi {
    String SEARCH = "/search";

    /**
     * Search on stored documents.
     * 
     * @return SearchResult
     */
    @POST(SEARCH)
    SearchResultResponse search(@Body SearchRequest request);

    /**
     * Search on stored documents.
     *   
     * @return SearchResult
     */
    @POST(SEARCH)
    SearchResultResponse search(@Body Collection<SearchRequest> requests);
}

@@ -320,176 +320,12 @@
 h%22;%0A
-%0A
     
-/**%0A     * Search on stored documents.%0A     * %0A     * @return SearchResult%0A     */%0A    @POST(SEARCH)%0A    SearchResultResponse search(@Body SearchRequest request);%0A
 %0A   

remove non collection method from searchApi