[ 
https://issues.apache.org/jira/browse/SOLR-3604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408942#comment-13408942
 ] 

Mike Sokolov commented on SOLR-3604:
------------------------------------

I think SOLR uses Woodstox for its parsing, which definitely reports comments 
as events.  I have code that does round-trip reserialization of XML docs using 
Woodstox, and it preserves pretty much everything, possibly with the exception 
of some ignorable whitespace (like between attributes).  But of course if Solr 
throws them away, they won't be available to re-serialize.

If it's too much trouble to update Solr to add comments to its object model, 
maybe it's worth converting comments to something that would be re-serialized 
as <comment> elements, that would be preserved, but otherwise ignored?
                
> The wiki claims all comments are wiped from solr.xml on save - we should fix 
> this.
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-3604
>                 URL: https://issues.apache.org/jira/browse/SOLR-3604
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.0, 5.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to