| Package | Description |
|---|---|
| org.exoplatform.commons.search.es.client | |
| org.exoplatform.commons.search.index.impl |
| 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.getCreatePipelineDocumentRequestContent(ElasticIndexingServiceConnector connector,
String id)
Get an ES create/update document content to put into a pipeline
The content of the request will update the full document (and not partially)
For instance:
{ "field1" : "value3" }
|
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" }
|
| Constructor and Description |
|---|
ReindexESType(org.exoplatform.container.ExoContainer exoContainer,
ElasticIndexingServiceConnector connector) |
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.