Hi Alex,

Indeed Solr would automatically rewrite this query to `id:%key^3` since
versions 7.1 / 8.0.

This happens via BooleanQuery#rewrite, you can check out the JIRA where
this was implemented: https://issues.apache.org/jira/browse/LUCENE-7925.

On Wed, Dec 23, 2020 at 3:13 PM Alex Bulygin <alex_buly...@bk.ru.invalid>
wrote:

> Good day to all! Perhaps a stupid question, I'm not very experienced in
> using solr, please, tell me, if I send such a request to solr id: (% key
> or% key or% key) and the keys are equal, will there be any optimization of
> such a request ? Or tell me from the code where such an optimization can
> take place? Hope for help
>
> ------
> Bulygin Alex
>


-- 
Adrien

Reply via email to