Class IndexDocumentRequest

java.lang.Object
com.liferay.portal.search.engine.adapter.ccr.CrossClusterRequest
com.liferay.portal.search.engine.adapter.document.IndexDocumentRequest
All Implemented Interfaces:
BulkableDocumentRequest<IndexDocumentResponse>, DocumentRequest<IndexDocumentResponse>

public class IndexDocumentRequest extends CrossClusterRequest implements BulkableDocumentRequest<IndexDocumentResponse>
  • Constructor Details

    • IndexDocumentRequest

      @Deprecated public IndexDocumentRequest(String indexName, com.liferay.portal.kernel.search.Document document)
      Deprecated.
      As of Mueller (7.2.x), replaced by IndexDocumentRequest.IndexDocumentRequest(String, Document)
    • IndexDocumentRequest

      public IndexDocumentRequest(String indexName, com.liferay.portal.search.document.Document document)
    • IndexDocumentRequest

      @Deprecated public IndexDocumentRequest(String indexName, String uid, com.liferay.portal.kernel.search.Document legacyDocument)
      Deprecated.
      As of Mueller (7.2.x), replaced by IndexDocumentRequest.IndexDocumentRequest(String, String, Document)
    • IndexDocumentRequest

      public IndexDocumentRequest(String indexName, String uid, com.liferay.portal.search.document.Document document)
  • Method Details

    • accept

      public IndexDocumentResponse accept(DocumentRequestExecutor documentRequestExecutor)
      Specified by:
      accept in interface DocumentRequest<IndexDocumentResponse>
    • getDocument

      public com.liferay.portal.search.document.Document getDocument()
    • getDocument71

      @Deprecated public com.liferay.portal.kernel.search.Document getDocument71()
      Deprecated.
      As of Mueller (7.2.x), replaced by getDocument
    • getIndexName

      public String getIndexName()
    • getType

      @Deprecated public String getType()
      Deprecated.
      As of Cavanaugh (7.4.x), with no direct replacement
    • getUid

      public String getUid()
    • isRefresh

      public boolean isRefresh()
    • setRefresh

      public void setRefresh(boolean refresh)
    • setType

      @Deprecated public void setType(String type)
      Deprecated.
      As of Cavanaugh (7.4.x), with no direct replacement