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

Ryan McKinley commented on SOLR-2415:
-------------------------------------

I see two approaches to the general problem:
1. each component gets its own version (wt.xml.version, facet.version, 
hl.version, etc)
2. a single 'version' param that multiple components use.

I think option #2 makes more sense, perhaps we should add a getVersion() 
parameter on SolrQueryRequest and have that used across all components.

For facet format (SOLR-2242) this should work, but I also hope that major 
versions (4.0 etc) can drop old formats since maintaining these for a long time 
can be a PIA.



> Change XMLWriter version parameter to "wt.xml.version"
> ------------------------------------------------------
>
>                 Key: SOLR-2415
>                 URL: https://issues.apache.org/jira/browse/SOLR-2415
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Trivial
>             Fix For: 4.0
>
>
> The XMLWriter has a parameter called 'version'.  This controls some specifics 
> about how the XMLWriter works.  Using the parameter name 'version' made sense 
> back when the XMLWriter was the only option, but with all the various writers 
> and different places where 'version' makes sense, I think we should change 
> this parameter name to "wt.xml.version" so that it specifically refers to the 
> XMLWriter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to