lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-2413) Cleanup XMLWriter, remove 'version' parameter
Date Wed, 09 Mar 2011 18:22:59 GMT

     [ https://issues.apache.org/jira/browse/SOLR-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ryan McKinley updated SOLR-2413:
--------------------------------

    Attachment: SOLR-2413-remove-XMLWriter-version.patch

Here is a patch that removes support for the old version, and fixes tests that depends on
it.

Most of the test chagnes look like this:
{code}
-    assertQ(req("id:100"),"//str[@name='my_s'][.='quoted']");
+    assertQ(req("id:100"),"//arr[@name='my_s']/str[.='quoted']");
{code}

that is rather then just str[@name...] it is now arr[@name...]/str

This removes the multi version support added in SOLR-59



> Cleanup XMLWriter, remove 'version' parameter
> ---------------------------------------------
>
>                 Key: SOLR-2413
>                 URL: https://issues.apache.org/jira/browse/SOLR-2413
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2413-remove-XMLWriter-version.patch
>
>
> XMLWriter includes support for a a pre 1.0 response format where multi-valued fields
are not collected together in an <arr> tag.
> One problem is that many tests assume this format.
> Lets remove this in 4.0

--
This message is automatically generated by JIRA.
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