@Path(value="/search/universal/absolute") public class AbsoluteSearchResource extends SearchResource
searches
userService
Constructor and Description |
---|
AbsoluteSearchResource(Searches searches,
ClusterConfigService clusterConfigService,
DecoratorProcessor decoratorProcessor) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
exportSearchAbsoluteChunked(@NotEmpty String query,
String from,
String to,
int limit,
int offset,
String filter,
String fields) |
HistogramResult |
fieldHistogramAbsolute(@NotEmpty String query,
@NotEmpty String field,
@NotEmpty String interval,
String from,
String to,
String filter,
boolean includeCardinality) |
HistogramResult |
histogramAbsolute(@NotEmpty String query,
@NotEmpty String interval,
String from,
String to,
String filter) |
SearchResponse |
searchAbsolute(@NotEmpty String query,
String from,
String to,
int limit,
int offset,
String filter,
String fields,
String sort,
boolean decorate) |
org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> |
searchAbsoluteChunked(@NotEmpty String query,
String from,
String to,
int limit,
int offset,
String filter,
String fields) |
FieldStatsResult |
statsAbsolute(@NotEmpty String field,
@NotEmpty String query,
String from,
String to,
String filter) |
TermsResult |
termsAbsolute(@NotEmpty String field,
@NotEmpty String query,
String stackedFieldsParam,
int size,
String from,
String to,
String filter,
String order) |
TermsHistogramResult |
termsHistogramRelative(@NotEmpty String field,
@NotEmpty String query,
String stackedFieldsParam,
@Min(value=1L) int size,
String from,
String to,
String interval,
String filter,
String order) |
TermsStatsResult |
termsStatsAbsolute(@NotEmpty String keyField,
@NotEmpty String valueField,
@NotEmpty String order,
@NotEmpty String query,
int size,
String from,
String to,
String filter) |
buildChunkedOutput, buildFieldStatsResult, buildHistogramResult, buildSearchResponse, buildSorting, buildTermsResult, buildTermsStatsResult, checkSearchPermission, createScrollChunkProducer, fieldHistogram, fieldStats, indexRangeListToValueList, parseFields, parseOptionalFields, restrictTimeRange, resultMessageListtoValueList, splitStackedFields, validateInterval
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@Inject public AbsoluteSearchResource(Searches searches, ClusterConfigService clusterConfigService, DecoratorProcessor decoratorProcessor)
@GET @Timed @Produces(value="application/json") public SearchResponse searchAbsolute(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @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> searchAbsoluteChunked(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="limit") int limit, @QueryParam(value="offset") int offset, @QueryParam(value="filter") String filter, @QueryParam(value="fields") String fields)
@GET @Path(value="/export") @Timed @Produces(value="text/csv") public javax.ws.rs.core.Response exportSearchAbsoluteChunked(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="limit") int limit, @QueryParam(value="offset") int offset, @QueryParam(value="filter") String filter, @QueryParam(value="fields") String fields)
@GET @Path(value="/terms") @Timed @Produces(value="application/json") public TermsResult termsAbsolute(@QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="stacked_fields") String stackedFieldsParam, @QueryParam(value="size") int size, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter, @QueryParam(value="order") String order)
@GET @Path(value="/terms-histogram") @Timed @Produces(value="application/json") public TermsHistogramResult termsHistogramRelative(@QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="stacked_fields") String stackedFieldsParam, @QueryParam(value="size") @Min(value=1L) @Min(value=1L) int size, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="interval") String interval, @QueryParam(value="filter") String filter, @QueryParam(value="order") String order)
@GET @Path(value="/termsstats") @Timed @Produces(value="application/json") public TermsStatsResult termsStatsAbsolute(@QueryParam(value="key_field") @NotEmpty @NotEmpty String keyField, @QueryParam(value="value_field") @NotEmpty @NotEmpty String valueField, @QueryParam(value="order") @NotEmpty @NotEmpty String order, @QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="size") int size, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter)
@GET @Path(value="/stats") @Timed @Produces(value="application/json") public FieldStatsResult statsAbsolute(@QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter)
@GET @Path(value="/histogram") @Timed @Produces(value="application/json") public HistogramResult histogramAbsolute(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="interval") @NotEmpty @NotEmpty String interval, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter)
@GET @Path(value="/fieldhistogram") @Timed @Produces(value="application/json") public HistogramResult fieldHistogramAbsolute(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="interval") @NotEmpty @NotEmpty String interval, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter, @QueryParam(value="cardinality") boolean includeCardinality)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.