package com.cameleer.server.core.storage;

import com.cameleer.common.model.LogEntry;
import com.cameleer.server.core.search.LogSearchRequest;
import com.cameleer.server.core.search.LogSearchResponse;

import java.util.List;

public interface LogIndex {

    LogSearchResponse search(LogSearchRequest request);

    void indexBatch(String instanceId, String applicationId, List<LogEntry> entries);
}
