zacharymorn commented on PR #240:
URL: https://github.com/apache/lucene/pull/240#issuecomment-1815555613

   Thanks @javanna for the feedback!
   
   > One thing that I wonder is whether we are ok already deprecating 
search(Query, Collector) given that we have a lot of usages still within 
Lucene. I was thinking that we may want to replace them all before deprecating, 
and then remove the method in main, but this is where I got distracted from 
this project last year and ended up dropping it after all. Should we consider 
getting your changes in, minus the deprecation, perhaps, and split the work on 
removing usages of the method?
   
   My current preference is actually to get the deprecation annotation in 
early, so that while we take on the remaining work to migrate other collector 
usage (which could take some time due to the amount of it), other contributors 
/ application developers could start to take note of those deprecation 
messages, and stay away from using `search(Query, Collector)` in favor of 
`search(Query, CollectorManager)` as early as possible. Otherwise, there may be 
more and more of those usage being added into lucene and we will always be 
playing catch-up to migrate them until we deprecate those methods. What do you 
think?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to