Github user merrimanr commented on a diff in the pull request:

    https://github.com/apache/metron/pull/995#discussion_r182477621
  
    --- Diff: 
metron-platform/metron-solr/src/main/java/org/apache/metron/solr/dao/SolrUpdateDao.java
 ---
    @@ -92,9 +93,17 @@ public void batchUpdate(Map<Document, Optional<String>> 
updates) throws IOExcept
         }
       }
     
    -  private SolrInputDocument toSolrInputDocument(Document document) {
    +  protected SolrInputDocument toSolrInputDocument(Document document) {
         SolrInputDocument solrInputDocument = new SolrInputDocument();
    -    document.getDocument().forEach(solrInputDocument::addField);
    +    document.getDocument().forEach((field, value) -> {
    +      if (!isLocationSubField(field)) {
    --- End diff --
    
    I don't see any other fields like this in the sensors we have but that 
doesn't mean there are not other field types like this.  I wasn't able to find 
any documentation around which fields Solr expands either.


---

Reply via email to