@Path(value="/search/universal/absolute") public class AbsoluteSearchResource extends SearchResource
searches
objectMapper, serverStatus, userService
Constructor and Description |
---|
AbsoluteSearchResource(Searches searches) |
Modifier and Type | Method and Description |
---|---|
HistogramResult |
fieldHistogramAbsolute(String query,
String field,
String interval,
String from,
String to,
String filter) |
HistogramResult |
histogramAbsolute(String query,
String interval,
String from,
String to,
String filter) |
SearchResponse |
searchAbsolute(String query,
String from,
String to,
int limit,
int offset,
String filter,
String fields,
String sort) |
org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> |
searchAbsoluteChunked(String query,
String from,
String to,
int limit,
int offset,
String filter,
String fields) |
FieldStatsResult |
statsAbsolute(String field,
String query,
String from,
String to,
String filter) |
TermsResult |
termsAbsolute(String field,
String query,
int size,
String from,
String to,
String filter) |
TermsStatsResult |
termsStatsAbsolute(String keyField,
String valueField,
String order,
String query,
int size,
String from,
String to,
String filter) |
buildFieldStatsResult, buildHistogramResult, buildSearchResponse, buildSorting, buildTermsResult, buildTermsStatsResult, checkSearchPermission, createRequestExceptionForParseFailure, createScrollChunkProducer, fieldHistogram, fieldStats, parseFields, parseOptionalFields, validateInterval
bytesToValueMap, checkPermission, checkPermission, getCurrentUser, getSubject, guessContentType, isPermitted, isPermitted, page, restrictToMaster, setPrettyPrint
@Inject public AbsoluteSearchResource(Searches searches)
@GET @Timed @Produces(value="application/json") public SearchResponse searchAbsolute(@QueryParam(value="query")@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)
@GET @Timed @Produces(value="text/csv") public org.glassfish.jersey.server.ChunkedOutput<ScrollResult.ScrollChunk> searchAbsoluteChunked(@QueryParam(value="query")@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 String field, @QueryParam(value="query")@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="/termsstats") @Timed @Produces(value="application/json") public TermsStatsResult termsStatsAbsolute(@QueryParam(value="key_field")@NotEmpty String keyField, @QueryParam(value="value_field")@NotEmpty String valueField, @QueryParam(value="order")@NotEmpty String order, @QueryParam(value="query")@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 String field, @QueryParam(value="query")@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 String query, @QueryParam(value="interval")@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 String query, @QueryParam(value="field")@NotEmpty String field, @QueryParam(value="interval")@NotEmpty String interval, @QueryParam(value="from") String from, @QueryParam(value="to") String to, @QueryParam(value="filter") String filter)
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.