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

Joel Bernstein edited comment on SOLR-9331 at 7/22/16 6:01 PM:
---------------------------------------------------------------

It's been a while since I looked at this code. I'm wondering if I originally 
implemented it like this because of issues with the QueryResultCache. But I 
don't remember exactly the reason for having a separate length variable. 


was (Author: joel.bernstein):
It's been a while since I looked at this code. I'm wondering if I originally 
implemented like this because of issues with the QueryResultCache. But I don't 
remember exactly the reason for having a separate length variable. 

> Can we remove ReRankQuery's length constructor argument?
> --------------------------------------------------------
>
>                 Key: SOLR-9331
>                 URL: https://issues.apache.org/jira/browse/SOLR-9331
>             Project: Solr
>          Issue Type: Wish
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-9331.patch
>
>
> Can we remove ReRankQuery's length constructor argument? It is a 
> ReRankQParserPlugin private class.
> proposed patch summary:
> * change ReRankQuery.getTopDocsCollector to use its len argument (instead of 
> the length member)
> * remove ReRankQuery's length member and constructor argument
> * remove ReRankQParser.parse's use of the rows and start parameters
> motivation: towards ReRankQParserPlugin and LTRQParserPlugin (SOLR-8542) 
> sharing (more) code



--
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