I opened a pull request[1] that fixes the case reported. The issue was
subqueries with grouped fields like "field:(term1 term2 term3), only the
first term was skipped when generating the boost query with fields
specified in pf parameter.

Unfortunately, this pre-parsing (method splitIntoClauses()) of edismax
parser and how we handle its results to generate the boost query is still
questionable. For example, for the query "term1 field:(term2 term3) term4"
we may still generate a boost query "term1 term4". Not sure whether it is
relevant or not. There is probably no definitive answer to this question.

I appreciate any feedback on the change
Best
Pierre

[1] https://github.com/apache/solr/pull/1893

Le mar. 29 août 2023 à 09:52, Mónica Marrero <monica.marr...@europeana.eu>
a écrit :

> Thank you, Chris. Here is the JIRA ticket:
> https://issues.apache.org/jira/browse/SOLR-16953
>
> Best,
>
> Mónica
>
> --
> Disclaimer: This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity to whom they
> are
> addressed. If you have received this email in error please notify the
> system manager. If you are not the named addressee you should not
> disseminate,
> distribute or copy this email. Please notify the sender
> immediately by email if you have received this email by mistake and delete
> this email from your
> system.
>

Reply via email to