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

Robert Muir commented on LUCENE-3474:
-------------------------------------

Lucene went a long time without builder APIs, if you like builders, you can do 
them in your own code (there is no need for us to enforce such antipatterns)

This API for ScorerContext is an internal API. the intended consumer is a 
lucene developer (e.g. guys like me). Its not for average joe... especially in 
4.x when you can more easily tweak the scoring API, I think very very few users 
will write custom queries.

We don't need to design APIs to baby lucene committers about this stuff, 
especially about two booleans, but like I said I wouldn't get too upset about 
flags (even though personally i think its overkill too).

                
> pass liveDocs Bits down in scorercontext, instead of Weights pulling from the 
> reader 
> -------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3474
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3474
>             Project: Lucene - Java
>          Issue Type: Task
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>         Attachments: LUCENE-3474.patch, LUCENE-3474.patch
>
>
> Spinoff from LUCENE-1536, this would allow filters to work in a more flexible 
> way (besides just cleaning up)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to