| Package | Description |
|---|---|
| org.exoplatform.addons.es.client |
| Modifier and Type | Method and Description |
|---|---|
String |
ElasticContentRequestBuilder.getCreateDocumentRequestContent(ElasticIndexingServiceConnector connector,
String id)
Get an ES create document content to insert in a bulk request
For instance:
{ "create" : { "_index" : "blog", "_type" : "post", "_id" : "blog_post_1" } }
{ "field1" : "value3" }
|
String |
ElasticContentRequestBuilder.getCreateIndexRequestContent(ElasticIndexingServiceConnector connector)
Get an ES create Index request content
|
String |
ElasticContentRequestBuilder.getDeleteDocumentRequestContent(ElasticIndexingServiceConnector connector,
String id)
Get an ES delete document content to insert in a bulk request
For instance:
{ "delete" : { "_index" : "blog", "_type" : "post", "_id" : "blog_post_1" } }
|
String |
ElasticContentRequestBuilder.getUpdateDocumentRequestContent(ElasticIndexingServiceConnector connector,
String id)
Get an ES update document content to insert in a bulk request
We use the create api to reindex the full document (and not partially)
For instance:
{ "create" : { "_index" : "blog", "_type" : "post", "_id" : "blog_post_1" } }
{ "field1" : "value3" }
|
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.