Modifier and Type | Class and Description |
---|---|
static interface |
EsFetcher.HitDocConsumer
Consumes both a SearchHit and DocumentModel.
|
Modifier and Type | Field and Description |
---|---|
protected EsFetcher.HitDocConsumer |
consumer |
Constructor and Description |
---|
EsFetcher(CoreSession session,
org.elasticsearch.action.search.SearchResponse response,
Map<String,String> repoNames) |
EsFetcher(CoreSession session,
org.elasticsearch.action.search.SearchResponse response,
Map<String,String> repoNames,
EsFetcher.HitDocConsumer consumer) |
Modifier and Type | Method and Description |
---|---|
DocumentModelListImpl |
fetchDocuments() |
getRepoForIndex, getResponse, getSession
protected final EsFetcher.HitDocConsumer consumer
public EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames)
public EsFetcher(CoreSession session, org.elasticsearch.action.search.SearchResponse response, Map<String,String> repoNames, EsFetcher.HitDocConsumer consumer)
public DocumentModelListImpl fetchDocuments()
fetchDocuments
in class Fetcher
Copyright © 2019 Nuxeo. All rights reserved.