[
https://issues.apache.org/jira/browse/METRON-1056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16099083#comment-16099083
]
ASF GitHub Bot commented on METRON-1056:
----------------------------------------
Github user merrimanr commented on a diff in the pull request:
https://github.com/apache/metron/pull/662#discussion_r129145507
--- Diff:
metron-interface/metron-rest/src/main/java/org/apache/metron/rest/controller/SearchController.java
---
@@ -45,4 +49,18 @@
ResponseEntity<SearchResponse> search(final @ApiParam(name =
"searchRequest", value = "Search request", required = true) @RequestBody
SearchRequest searchRequest) throws RestException {
return new ResponseEntity<>(searchService.search(searchRequest),
HttpStatus.OK);
}
+
--- End diff --
It's a legitimate concern but I think synchronous is ok here because
Elasticsearch is intended to provide results in real-time. The http javascript
APIs we use are asynchronous so it shouldn't make a difference in the UI. If
this were a batch operation (Hive, Map Reduce) I would agree that it should be
an async call.
> Get field types from Elasticsearch
> ----------------------------------
>
> Key: METRON-1056
> URL: https://issues.apache.org/jira/browse/METRON-1056
> Project: Metron
> Issue Type: Improvement
> Reporter: Ryan Merriman
>
> We need a way to retrieve field types from Elasticsearch for a specified list
> of indices. This will also be exposed through our indexing DAO layer with
> Elasticsearch being the initial implementation.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)