public class IndexingHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
defaultRowSize |
int |
maxRetryCount |
long |
requestInterval |
| Constructor and Description |
|---|
IndexingHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteChildDocument(FessEsClient fessEsClient,
String id) |
boolean |
deleteDocument(FessEsClient fessEsClient,
String id) |
int |
deleteDocumentByUrl(FessEsClient fessEsClient,
String url) |
int |
deleteDocumentsByDocId(FessEsClient fessEsClient,
List<String> docIdList) |
List<Map<String,Object>> |
getChildDocumentList(FessEsClient fessEsClient,
String id,
String[] fields) |
Map<String,Object> |
getDocument(FessEsClient fessEsClient,
String id,
String[] fields) |
List<Map<String,Object>> |
getDocumentListByPrefixId(FessEsClient fessEsClient,
String id,
String[] fields) |
protected List<Map<String,Object>> |
getDocumentListByQuery(FessEsClient fessEsClient,
org.elasticsearch.index.query.QueryBuilder queryBuilder,
String[] fields) |
void |
sendDocuments(FessEsClient fessEsClient,
DocList docList) |
boolean |
updateDocument(FessEsClient fessEsClient,
String id,
String field,
Object value) |
public int maxRetryCount
public int defaultRowSize
public long requestInterval
public void sendDocuments(FessEsClient fessEsClient, DocList docList)
public boolean updateDocument(FessEsClient fessEsClient, String id, String field, Object value)
public boolean deleteDocument(FessEsClient fessEsClient, String id)
public int deleteDocumentByUrl(FessEsClient fessEsClient, String url)
public int deleteDocumentsByDocId(FessEsClient fessEsClient, List<String> docIdList)
public Map<String,Object> getDocument(FessEsClient fessEsClient, String id, String[] fields)
public List<Map<String,Object>> getDocumentListByPrefixId(FessEsClient fessEsClient, String id, String[] fields)
public void deleteChildDocument(FessEsClient fessEsClient, String id)
public List<Map<String,Object>> getChildDocumentList(FessEsClient fessEsClient, String id, String[] fields)
Copyright © 2009–2017 CodeLibs. All rights reserved.