Interface Search
public interface Search
-
Method Summary
Modifier and TypeMethodDescriptiondefault Searchany(Constraint... constraints) default Searchdefault Searchdefault Searchdefault SearchbeforeLast(Duration period) default Searchdefault Searchconstraint(Constraint... constraints) delete()<T> List<T>fetch(int maxSize) <T> List<T>default <T> List<T>fetchAll()default <T> List<T>default <T> Optional<T>default <T> Optional<T>fetchFirst(Class<T> type) fetchHistogram(int resolution, int maxSize) default List<DocumentStats>fetchStatistics(@NonNull String field, String... groupBy) fetchStatistics(List<String> fields, String... groupBy) getDocumentStatistics(String... groupBy) includeOnly(String... paths) default Searchdefault Searchdefault Searchdefault Searchdefault Searchdefault Searchnot(Constraint constraint) default Searchdefault Searchdefault Searchdefault SearchsortByTimestamp(boolean descending) default <T> Stream<T>stream()default <T> Stream<T>streamHits(Class<T> type)
-
Method Details
-
since
-
before
-
beforeLast
-
inLast
-
inPeriod
-
inPeriod
-
lookAhead
-
query
-
match
-
match
-
anyExist
-
atLeast
-
below
-
between
-
any
-
not
-
constraint
-
sortByTimestamp
-
sortByTimestamp
-
sortByScore
Search sortByScore() -
sortBy
-
sortBy
-
exclude
-
includeOnly
-
skip
-
fetch
-
fetch
-
fetchAll
-
fetchAll
-
stream
-
stream
-
fetchFirst
-
fetchFirst
-
streamHits
-
streamHits
-
fetchHistogram
-
fetchStatistics
-
fetchStatistics
-
getDocumentStatistics
-
delete
CompletableFuture<Void> delete()
-