You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Justin Leet (JIRA)" <ji...@apache.org> on 2018/05/30 13:47:00 UTC
[jira] [Created] (METRON-1585) SolrRetrieveLatestDao does not use
the collection lookup
Justin Leet created METRON-1585:
-----------------------------------
Summary: SolrRetrieveLatestDao does not use the collection lookup
Key: METRON-1585
URL: https://issues.apache.org/jira/browse/METRON-1585
Project: Metron
Issue Type: Sub-task
Reporter: Justin Leet
`getLatest` interface has the second arg as "sensorType", but the Solr DAO makes the assumption that it's "collection" and renames the arg and uses it without retrieving the actual collection. https://github.com/apache/metron/blob/feature/METRON-1416-upgrade-solr/metron-platform/metron-solr/src/main/java/org/apache/metron/solr/dao/SolrRetrieveLatestDao.java#L47
`getAllLatest` at https://github.com/apache/metron/blob/feature/METRON-1416-upgrade-solr/metron-platform/metron-solr/src/main/java/org/apache/metron/solr/dao/SolrRetrieveLatestDao.java#L47
This can affect other DAOs that defer to this DAO (e.g. update and metaalert)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)