lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Sokolov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3604) The wiki claims all comments are wiped from solr.xml on save - we should fix this.
Date Sun, 08 Jul 2012 15:41:35 GMT

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message