Package org.icij.datashare.text.indexing
Interface Indexer.Searcher
-
- Enclosing interface:
- Indexer
public static interface Indexer.Searcher
-
-
Method Summary
-
-
-
Method Detail
-
ofStatus
Indexer.Searcher ofStatus(Document.Status indexed)
-
execute
java.util.stream.Stream<? extends Entity> execute() throws IOException
- Throws:
IOException
-
scroll
java.util.stream.Stream<? extends Entity> scroll() throws IOException
- Throws:
IOException
-
scroll
java.util.stream.Stream<? extends Entity> scroll(int numSlice, int nbSlices) throws IOException
- Throws:
IOException
-
set
Indexer.Searcher set(com.fasterxml.jackson.databind.JsonNode jsonQuery)
-
withSource
Indexer.Searcher withSource(String... fields)
-
withoutSource
Indexer.Searcher withoutSource(String... fields)
-
withSource
Indexer.Searcher withSource(boolean source)
-
without
Indexer.Searcher without(Pipeline.Type... nlpPipelines)
-
with
Indexer.Searcher with(Pipeline.Type... nlpPipelines)
-
limit
Indexer.Searcher limit(int maxCount)
-
clearScroll
void clearScroll() throws IOException- Throws:
IOException
-
totalHits
long totalHits()
-
with
Indexer.Searcher with(Tag... tags)
-
with
Indexer.Searcher with(String query)
-
with
Indexer.Searcher with(String query, int fuzziness, boolean phraseMatches)
-
thatMatchesFieldValue
Indexer.Searcher thatMatchesFieldValue(String key, Object value)
-
withFieldValues
Indexer.Searcher withFieldValues(String key, String... values)
-
withPrefixQuery
Indexer.Searcher withPrefixQuery(String key, String... values)
-
-