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

Chris A. Mattmann commented on SOLR-1602:
-----------------------------------------

Hey Ryan,

You are exactly right. When I created the patch in Eclipse, it negated to do 
the add +++ part of the patch b/c it saw the files as getting moved. Note 
that's why the patch doesn't apply -- it tries to make changes to the response 
writer class packages based on the path 
org/apache/solr/response/<WriterName>.java, which doesn't exist yet.

To apply this patch:

1. first move the response writers into a new folder (response). Also copy 
SolrQueryResponse there.
2. apply the patch

Cheers,
Chris


> Refactor SOLR package structure to include o.a.solr.response and move 
> QueryResponseWriters in there
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1602
>                 URL: https://issues.apache.org/jira/browse/SOLR-1602
>             Project: Solr
>          Issue Type: Improvement
>          Components: Response Writers
>    Affects Versions: 1.2, 1.3, 1.4
>         Environment: independent of environment (code structure)
>            Reporter: Chris A. Mattmann
>            Assignee: Noble Paul
>             Fix For: 1.5
>
>         Attachments: SOLR-1602.Mattmann.112509.patch.txt, 
> SOLR-1602.Mattmann.112509_02.patch.txt
>
>
> Currently all o.a.solr.request.QueryResponseWriter implementations are 
> curiously located in the o.a.solr.request package. Not only is this package 
> getting big (30+ classes), a lot of them are misplaced. There should be a 
> first-class o.a.solr.response package, and the response related classes 
> should be given a home there. Patch forthcoming.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to