@Path(value="/search/universal/keyword") public class KeywordSearchResource extends SearchResource
DEFAULT_SCROLL_BATCH_SIZE, searchesconfiguration, userService| Constructor and Description |
|---|
KeywordSearchResource(Searches searches,
ClusterConfigService clusterConfigService,
DecoratorProcessor decoratorProcessor) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
exportSearchKeywordChunked(@NotEmpty String query,
@NotEmpty String keyword,
int limit,
int offset,
int batchSize,
String filter,
@NotEmpty String fields) |
SearchResponse |
searchKeyword(@NotEmpty String query,
@NotEmpty String keyword,
int limit,
int offset,
String filter,
String fields,
String sort,
boolean decorate) |
org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> |
searchKeywordChunked(@NotEmpty String query,
@NotEmpty String keyword,
int limit,
int offset,
int batchSize,
String filter,
@NotEmpty String fields) |
buildChunkedOutput, buildSearchResponse, buildSorting, checkSearchPermission, createScrollChunkProducer, indexRangeListToValueList, parseFields, parseOptionalFields, restrictTimeRange, resultMessageListtoValueListcheckAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public KeywordSearchResource(Searches searches, ClusterConfigService clusterConfigService, DecoratorProcessor decoratorProcessor)
@GET @Timed @Produces(value="application/json") public SearchResponse searchKeyword(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="keyword") @NotEmpty @NotEmpty String keyword, @QueryParam(value="limit") int limit, @QueryParam(value="offset") int offset, @QueryParam(value="filter") String filter, @QueryParam(value="fields") String fields, @QueryParam(value="sort") String sort, @QueryParam(value="decorate") @DefaultValue(value="true") boolean decorate)
@GET @Timed @Produces(value="text/csv") public org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> searchKeywordChunked(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="keyword") @NotEmpty @NotEmpty String keyword, @QueryParam(value="limit") int limit, @QueryParam(value="offset") int offset, @QueryParam(value="batch_size") @DefaultValue(value="500") int batchSize, @QueryParam(value="filter") String filter, @QueryParam(value="fields") @NotEmpty @NotEmpty String fields)
@GET
@Path(value="/export")
@Timed
@Produces(value="text/csv")
public javax.ws.rs.core.Response exportSearchKeywordChunked(@QueryParam(value="query") @NotEmpty
@NotEmpty String query,
@QueryParam(value="keyword") @NotEmpty
@NotEmpty String keyword,
@QueryParam(value="limit")
int limit,
@QueryParam(value="offset")
int offset,
@QueryParam(value="batch_size") @DefaultValue(value="500")
int batchSize,
@QueryParam(value="filter")
String filter,
@QueryParam(value="fields") @NotEmpty
@NotEmpty String fields)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.