Re: Edismax parsing when using pf parameter

Pierre Salagnac <[email protected]>
Newsgroups gmane.comp.search.solr.devel,gmane.comp.version-control.subversion.user
Message-ID <CAMcb_zbwBiSomCf4rRDtN2BfEv50ZAqW=FmTwQw6etq1Qz+FTQ@mail.gmail.com>
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 <[email protected]>
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.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.