Justin Leet created METRON-1547:
-----------------------------------

             Summary: Solr Comment Fields
                 Key: METRON-1547
                 URL: https://issues.apache.org/jira/browse/METRON-1547
             Project: Metron
          Issue Type: Bug
            Reporter: Justin Leet
            Assignee: Justin Leet


Right now the Solr schemas don't have comment fields defined. It'll get caught 
by the catch all with ignored type not multivalued.

ES just handles this correctly out of the box, but we'll need to take care of 
it in Solr and document the schema restriction.

This actually is probably fairly problematic in comparison to ES. Solr doesn't 
support an easy way of doing a complex structure without doing something a bit 
weird (like parsing a string representation) or miserable (nested document).

This will be incompatible with the current comment update system (just using 
the patch() functionality). Preferably we need to add a new REST endpoint for 
comments specifically so that we can handle it without the frontend knowing the 
backend system.  This also involves adjusting the UI to use the new REST API, 
along with testing for both ES and Solr.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to