Class KeywordSearchResource


@RequiresAuthentication @Path("/search/universal/keyword") public class KeywordSearchResource extends SearchResource
  • Constructor Details

  • Method Details

    • searchKeyword

      @GET @Timed @Produces("application/json") public SearchResponse searchKeyword(@QueryParam("query") @NotEmpty @NotEmpty String query, @QueryParam("keyword") @NotEmpty @NotEmpty String keyword, @QueryParam("timezone") @NotEmpty @NotEmpty String timezone, @QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("filter") String filter, @QueryParam("fields") String fields, @QueryParam("sort") String sort, @QueryParam("decorate") @DefaultValue("true") boolean decorate, @Context SearchUser searchUser)
    • searchKeywordChunked

      @GET @Timed @Produces("text/csv") public org.glassfish.jersey.server.ChunkedOutput<ResultChunk> searchKeywordChunked(@QueryParam("query") @NotEmpty @NotEmpty String query, @QueryParam("keyword") @NotEmpty @NotEmpty String keyword, @QueryParam("timezone") @NotEmpty @NotEmpty String timezone, @QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("batch_size") @DefaultValue("500") int batchSize, @QueryParam("filter") String filter, @QueryParam("fields") @NotEmpty @NotEmpty String fields)
    • exportSearchKeywordChunked

      @GET @Path("/export") @Timed @Produces("text/csv") public javax.ws.rs.core.Response exportSearchKeywordChunked(@QueryParam("query") @NotEmpty @NotEmpty String query, @QueryParam("keyword") @NotEmpty @NotEmpty String keyword, @QueryParam("timezone") @NotEmpty @NotEmpty String timezone, @QueryParam("limit") int limit, @QueryParam("offset") int offset, @QueryParam("batch_size") @DefaultValue("500") int batchSize, @QueryParam("filter") String filter, @QueryParam("fields") @NotEmpty @NotEmpty String fields)