@Path(value="/search/universal/relative") public class RelativeSearchResource extends SearchResource
searches
userService
Constructor and Description |
---|
RelativeSearchResource(Searches searches,
ClusterConfigService clusterConfigService,
DecoratorProcessor decoratorProcessor) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
exportSearchRelativeChunked(@NotEmpty String query,
int range,
int limit,
int offset,
String filter,
String fields) |
HistogramResult |
fieldHistogramRelative(@NotEmpty String query,
@NotEmpty String field,
@NotEmpty String interval,
int range,
String filter,
boolean includeCardinality) |
HistogramResult |
histogramRelative(@NotEmpty String query,
@NotEmpty String interval,
int range,
String filter) |
SearchResponse |
searchRelative(@NotEmpty String query,
int range,
int limit,
int offset,
String filter,
String fields,
String sort,
boolean decorate) |
org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> |
searchRelativeChunked(@NotEmpty String query,
int range,
int limit,
int offset,
String filter,
String fields) |
FieldStatsResult |
statsRelative(@NotEmpty String field,
@NotEmpty String query,
int range,
String filter) |
TermsHistogramResult |
termsHistogramRelative(@NotEmpty String field,
@NotEmpty String query,
String stackedFieldsParam,
@Min(value=1L) int size,
int range,
String interval,
String filter,
String order) |
TermsResult |
termsRelative(@NotEmpty String field,
@NotEmpty String query,
String stackedFieldsParam,
int size,
int range,
String filter,
String order) |
TermsStatsResult |
termsStatsRelative(@NotEmpty String keyField,
@NotEmpty String valueField,
@NotEmpty String order,
@NotEmpty String query,
int size,
int range,
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 RelativeSearchResource(Searches searches, ClusterConfigService clusterConfigService, DecoratorProcessor decoratorProcessor)
@GET @Timed @Produces(value="application/json") public SearchResponse searchRelative(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="range") int range, @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> searchRelativeChunked(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="range") int range, @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 exportSearchRelativeChunked(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="range") int range, @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 termsRelative(@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="range") int range, @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="range") int range, @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 termsStatsRelative(@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="range") int range, @QueryParam(value="filter") String filter)
@GET @Path(value="/stats") @Timed @Produces(value="application/json") public FieldStatsResult statsRelative(@QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="range") int range, @QueryParam(value="filter") String filter)
@GET @Path(value="/histogram") @Timed @Produces(value="application/json") public HistogramResult histogramRelative(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="interval") @NotEmpty @NotEmpty String interval, @QueryParam(value="range") int range, @QueryParam(value="filter") String filter)
@GET @Path(value="/fieldhistogram") @Timed @Produces(value="application/json") public HistogramResult fieldHistogramRelative(@QueryParam(value="query") @NotEmpty @NotEmpty String query, @QueryParam(value="field") @NotEmpty @NotEmpty String field, @QueryParam(value="interval") @NotEmpty @NotEmpty String interval, @QueryParam(value="range") int range, @QueryParam(value="filter") String filter, @QueryParam(value="cardinality") boolean includeCardinality)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.