Hello,
When the distributed search is requested (SolrCloud), the query component
invokes prepare() where a query is parsed. But then it's just ignored, I
suppose because all work is done by subordinate shards' requests.
It's fine the most of the times because query parsing is cheap. Until we
have a heavy wildcarded complexphrase query, where the expensive expansion
is done during parsing.
How to avoid this waste of resources? Just bypass parsing is rb.isDistrib?
or refactor complexphrase parser moving expansion downstream to rewrite or
createWeight?
--
Mikhail

Reply via email to