Details
-
Sub-task
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
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.
Attachments
Issue Links
- links to