use of com.thinkbiganalytics.search.rest.model.UnknownTypeSearchResultData in project kylo by Teradata.
the class ElasticSearchSearchResultTransform method getUnknownTypeSearchResultData.
private UnknownTypeSearchResultData getUnknownTypeSearchResultData(SearchHit searchHit) {
UnknownTypeSearchResultData unknownTypeSearchResultData = new UnknownTypeSearchResultData();
unknownTypeSearchResultData.setRawData(searchHit.getSource());
unknownTypeResultCount += 1L;
return unknownTypeSearchResultData;
}
use of com.thinkbiganalytics.search.rest.model.UnknownTypeSearchResultData in project kylo by Teradata.
the class ElasticSearchRestSearchResultTransform method getUnknownTypeSearchResultData.
private UnknownTypeSearchResultData getUnknownTypeSearchResultData(ElasticSearchRestSearchHit elasticSearchRestSearchHit) {
UnknownTypeSearchResultData unknownTypeSearchResultData = new UnknownTypeSearchResultData();
Map<String, Object> rawData = new HashMap<>();
rawData.put(RAW_DATA_KEY, elasticSearchRestSearchHit.getRawHit());
unknownTypeSearchResultData.setRawData(rawData);
unknownTypeResultCount += 1L;
return unknownTypeSearchResultData;
}
use of com.thinkbiganalytics.search.rest.model.UnknownTypeSearchResultData in project kylo by Teradata.
the class SolrSearchResultTransform method getUnknownTypeSearchResultData.
private UnknownTypeSearchResultData getUnknownTypeSearchResultData(Map<String, Object> solrDocumentFieldValueMap) {
UnknownTypeSearchResultData unknownTypeSearchResultData = new UnknownTypeSearchResultData();
unknownTypeSearchResultData.setRawData(solrDocumentFieldValueMap);
unknownTypeResultCount += 1L;
return unknownTypeSearchResultData;
}
Aggregations