gsmiller commented on issue #15220: URL: https://github.com/apache/lucene/issues/15220#issuecomment-3445243471
Thanks @tflobbe for raising this. It's a bit of an interesting challenge to figure out the right thing to do with multi-collection. The current approach is that each wrapped collector can independently terminate, but those terminations don't impact the ability for other sibling collectors to continue. So in this case, if your main collector is terminating early, facet collection will continue (as you point out). Have you looked at the [DrillSideways#search](https://github.com/apache/lucene/blob/3043382bfd734cb27d416a3ad4587f43945f54b9/lucene/facet/src/java/org/apache/lucene/facet/DrillSideways.java#L434) method that was added ~1 year ago that lets you provide your own drill-down and drill-sideways facet collector implementations? I think this should give you the flexibility to do what you're looking for if you create a version of `MultiCollectorManager` that terminates all collection as soon as one collector terminates? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
