public static interface Indexer.Searcher
| Modifier and Type | Method and Description |
|---|---|
void |
clearScroll() |
java.util.stream.Stream<? extends Entity> |
execute() |
Indexer.Searcher |
limit(int maxCount) |
Indexer.Searcher |
ofStatus(Document.Status indexed) |
java.util.stream.Stream<? extends Entity> |
scroll() |
java.util.stream.Stream<? extends Entity> |
scroll(int numSlice,
int nbSlices) |
Indexer.Searcher |
thatMatchesFieldValue(String key,
String value) |
long |
totalHits() |
Indexer.Searcher |
with(Pipeline.Type... nlpPipelines) |
Indexer.Searcher |
with(String query) |
Indexer.Searcher |
with(String query,
int fuzziness,
boolean phraseMatches) |
Indexer.Searcher |
with(Tag... tags) |
Indexer.Searcher |
withFieldValues(String key,
String... values) |
Indexer.Searcher |
without(Pipeline.Type... nlpPipelines) |
Indexer.Searcher |
withoutSource(String... fields) |
Indexer.Searcher |
withPrefixQuery(String key,
String... values) |
Indexer.Searcher |
withSource(boolean source) |
Indexer.Searcher |
withSource(String... fields) |
Indexer.Searcher ofStatus(Document.Status indexed)
java.util.stream.Stream<? extends Entity> execute() throws IOException
IOExceptionjava.util.stream.Stream<? extends Entity> scroll() throws IOException
IOExceptionjava.util.stream.Stream<? extends Entity> scroll(int numSlice, int nbSlices) throws IOException
IOExceptionIndexer.Searcher withSource(String... fields)
Indexer.Searcher withoutSource(String... fields)
Indexer.Searcher withSource(boolean source)
Indexer.Searcher without(Pipeline.Type... nlpPipelines)
Indexer.Searcher with(Pipeline.Type... nlpPipelines)
Indexer.Searcher limit(int maxCount)
void clearScroll()
throws IOException
IOExceptionlong totalHits()
Indexer.Searcher with(Tag... tags)
Indexer.Searcher with(String query)
Indexer.Searcher with(String query, int fuzziness, boolean phraseMatches)
Indexer.Searcher thatMatchesFieldValue(String key, String value)
Indexer.Searcher withFieldValues(String key, String... values)
Indexer.Searcher withPrefixQuery(String key, String... values)
Copyright © 2020 ICIJ. All rights reserved.