public class DeleteByQueryDocumentRequest extends CrossClusterRequest implements DocumentRequest<DeleteByQueryDocumentResponse>
Constructor and Description |
---|
DeleteByQueryDocumentRequest(com.liferay.portal.kernel.search.Query query,
java.lang.String... indexNames)
Deprecated.
As of Athanasius (7.3.x), replaced by
DeleteByQueryDocumentRequest.DeleteByQueryDocumentRequest(
Query, String...)
|
DeleteByQueryDocumentRequest(Query portalSearchQuery,
java.lang.String... indexNames) |
Modifier and Type | Method and Description |
---|---|
DeleteByQueryDocumentResponse |
accept(DocumentRequestExecutor documentRequestExecutor) |
java.lang.String[] |
getIndexNames() |
Query |
getPortalSearchQuery() |
com.liferay.portal.kernel.search.Query |
getQuery()
Deprecated.
As of Athanasius (7.3.x), replaced by
getPortalSearchQuery() |
boolean |
isRefresh() |
boolean |
isWaitForCompletion() |
void |
setRefresh(boolean refresh) |
void |
setWaitForCompletion(boolean waitForCompletion) |
getConnectionId, isPreferLocalCluster, setConnectionId, setPreferLocalCluster
@Deprecated public DeleteByQueryDocumentRequest(com.liferay.portal.kernel.search.Query query, java.lang.String... indexNames)
public DeleteByQueryDocumentRequest(Query portalSearchQuery, java.lang.String... indexNames)
public DeleteByQueryDocumentResponse accept(DocumentRequestExecutor documentRequestExecutor)
accept
in interface DocumentRequest<DeleteByQueryDocumentResponse>
public java.lang.String[] getIndexNames()
public Query getPortalSearchQuery()
@Deprecated public com.liferay.portal.kernel.search.Query getQuery()
getPortalSearchQuery()
public boolean isRefresh()
public boolean isWaitForCompletion()
public void setRefresh(boolean refresh)
public void setWaitForCompletion(boolean waitForCompletion)