Christine Poerschke created SOLR-8490:
-----------------------------------------

             Summary: factor out a QueryCommand (super) class from 
SolrIndexSearcher.QueryCommand
                 Key: SOLR-8490
                 URL: https://issues.apache.org/jira/browse/SOLR-8490
             Project: Solr
          Issue Type: Sub-task
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke
            Priority: Minor


part 0 (for trunk and branch_5x) - preparation:
 * two minor changes in {{QueryComponent.java}} and {{SolrIndexSearcher.java}} 
to simplify the subsequent actual changes

part 1 (for trunk and branch_5x) - factor out a {{QueryCommand}} (super) class 
from {{SolrIndexSearcher.QueryCommand}}:
* for back-compat reasons {{SolrIndexSearcher.QueryCommand}} inherits from the 
factored out class
* for private variables and methods use {{QueryCommand}} instead of 
{{SolrIndexSearcher.QueryCommand}}
* public methods and constructors taking {{SolrIndexSearcher.QueryCommand}} 
args marked @Deprecated and equivalents with {{QueryCommand}} arg created

part 2 (for trunk only) - remove deprecated {{SolrIndexSearcher.QueryCommand}} 
class:
* affected/changed public or protected methods:
** {{ResponseBuilder.getQueryCommand()}}
** {{SolrIndexSearcher.search(QueryResult qr, QueryCommand cmd)}}
** {{SolrIndexSearcher.sortDocSet(QueryResult qr, QueryCommand cmd)}}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to