public class ConversationIndexQueryServiceImpl extends Object implements ConversationIndexQueryService
| Modifier and Type | Field and Description |
|---|---|
protected ConversationResultMapper |
conversationResultMapper |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected SearchService |
searchService |
| Constructor and Description |
|---|
ConversationIndexQueryServiceImpl(SearchService searchService,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ConversationResultMapper conversationResultMapper) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
getConversationDocument(String conversationId) |
protected Page<ConversationSearchResponse> |
getPageFromQuery(int start,
int size,
String index,
String query,
String order,
String sort) |
Page<ConversationSearchResponse> |
queryConversations(ConversationIndexQueryRequest request) |
protected SearchService searchService
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected ConversationResultMapper conversationResultMapper
public ConversationIndexQueryServiceImpl(SearchService searchService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ConversationResultMapper conversationResultMapper)
public Page<ConversationSearchResponse> queryConversations(ConversationIndexQueryRequest request)
queryConversations in interface ConversationIndexQueryServicepublic com.fasterxml.jackson.databind.JsonNode getConversationDocument(String conversationId)
getConversationDocument in interface ConversationIndexQueryService