mayya-sharipova commented on issue #1351: LUCENE-9280: Collectors to skip 
noncompetitive documents
URL: https://github.com/apache/lucene-solr/pull/1351#issuecomment-606889736
 
 
   @jpountz  Thank you for the review.
   
   > I wonder whether we could make it easier to write implementations. I 
haven't spent much time thinking about it, but for instance would it be 
possible to wrap existing comparators to add the skipping functionality? 
Alternatively we could add the skipping logic to the existing comparators, but 
the fact that Lucene doesn't require that the same data be stored in indexes 
and doc values makes me a bit nervous about enabling it by default, and I'd 
like to avoid adding a new constructor argument.
   
   Would it make sense  for each numeric FieldComparator to add an extra class 
that would wrap a numeric comparator and provide additional methods for 
skipping logic (getting an iterator and updating an iterator)? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to