dsmiley commented on PR #5391:
URL: https://github.com/apache/solr/pull/5391#issuecomment-7229216158
I substantially improved `WithDescendantsQuery`:
* It doesn't need the "result" FixedBitSet anymore
* the nest path terms processing and bitset processing now mostly scopes to
the range of docs of the underlying query, thus skipping leading irrelevant
docs and trailing likewise. So a query matching a tight cluster (perhaps 1
doc) will benefit a lot.
* the bottom/maximum depth needn't collect descendants.
* This thus showed we could short circuit the more expensive logic with a
single-depth hierarchy (i.e. 1 depth below root)
I moved the intersecting/conjunction DISI to an inner class as we're not
using this anywhere else (yet). It could be moved or donated to Lucene if it
proves useful. I also stopped computing the cost() as we don't need it.
--
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]