Affects Version/s: 7.6, 8.6.2
Fix Version/s: None
Component/s: query parsers
When including a non-existing field in a f.<alias>.qf field alias, boolean queries are parsed incorrectly.
For non-boolean queries the invalid field is simply ignored, but in boolean queries only the first search term is resolved to the fields from the alias, while the second term is resolved to the text field.
This parse is identical to the parse obtained from the same query with brackets removed, i.e. <alias>: (<termA> <termB>) returns the exact same parse as <alias>:<termA> <termB>.
I was able to reproduce this with the demo index in the latest Docker setup:
$ docker run --name solr_demo -d -p 8983:8983 solr:8 solr-demo