Hello,
I have two solr instances with exactly the same configuration.
The only difference that i know is that the first (the working one, is solr 
7.3.0,
while the one that's not working is solr 7.3.1)

If I execute the same query (with debugQuery=on) it gets parsed in different 
ways on the two systems and I don't understand why.

The query is

(f1:PUBMEDPMID12159614 AND (_query_:\"{!edismax qf='medline_chemical_terms 
medline_mesh_terms' q.op=OR mm=1 v=$subquery1}\"))

and on solr 7.3.1 is parsedquery is

+(
    DisjunctionMaxQuery((manuscript_id:PUBMEDPMID12159614 | 
publication_id:PUBMEDPMID12159614
        | pmc:PUBMEDPMID12159614 | id:PUBMEDPMID12159614 | 
source_id:PUBMEDPMID12159614 | other_id:PUBMEDPMID12159614
        | pmid:PUBMEDPMID12159614 | doi:PUBMEDPMID12159614)~0.1)

  +(DisjunctionMaxQuery((medline_chemical_terms:\"model molecular\" | 
medline_mesh_terms:\"model molecular\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"model theoret\" | 
medline_mesh_terms:\"model theoret\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"model statist\" | 
medline_mesh_terms:\"model statist\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"model immunolog\" | 
medline_mesh_terms:\"model immunolog\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"molecular dynam simul\" | 
medline_mesh_terms:\"molecular dynam simul\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"molecular dock simul\" | 
medline_mesh_terms:\"molecular dock simul\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"nonlinear dynam\" | 
medline_mesh_terms:\"nonlinear dynam\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"numer analysi comput 
assist\" | medline_mesh_terms:\"numer analysi comput assist\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"comput simul\" | 
medline_mesh_terms:\"comput simul\")~0.1)
      DisjunctionMaxQuery((medline_chemical_terms:\"comput biologi\" | 
medline_mesh_terms:\"comput biologi\")~0.1)
      )~1
  )


while on solr 7.3.0 is

+(
    +DisjunctionMaxQuery(
        (manuscript_id:PUBMEDPMID12159614 | publication_id:PUBMEDPMID12159614 | 
pmc:PUBMEDPMID12159614 | id:PUBMEDPMID12159614
            | source_id:PUBMEDPMID12159614 | other_id:PUBMEDPMID12159614 | 
pmid:PUBMEDPMID12159614 | secondary_ids:pubmedpmid12159614
            | doi:PUBMEDPMID12159614)~0.1)

    +(
        +(
            DisjunctionMaxQuery((medline_chemical_terms:\"model molecular\" | 
medline_mesh_terms:\"model molecular\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"model theoret\" | 
medline_mesh_terms:\"model theoret\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"model statist\" | 
medline_mesh_terms:\"model statist\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"model immunolog\" | 
medline_mesh_terms:\"model immunolog\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"molecular dynam 
simul\" | medline_mesh_terms:\"molecular dynam simul\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"molecular dock 
simul\" | medline_mesh_terms:\"molecular dock simul\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"nonlinear dynam\" | 
medline_mesh_terms:\"nonlinear dynam\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"numer analysi comput 
assist\" | medline_mesh_terms:\"numer analysi comput assist\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"comput simul\" | 
medline_mesh_terms:\"comput simul\")~0.1)
            DisjunctionMaxQuery((medline_chemical_terms:\"comput biologi\" | 
medline_mesh_terms:\"comput biologi\")~0.1)

        )~1
    )
)


And the correct one is the latter.
Can someone explain me why this happens? the main query uses the edismax parser.

Thank you a very much for your help.


Danilo Tomasoni

Fondazione The Microsoft Research - University of Trento Centre for 
Computational and Systems Biology (COSBI)
Piazza Manifattura 1,  38068 Rovereto (TN), Italy
tomas...@cosbi.eu<mailto:cala...@cosbi.eu>
http://www.cosbi.eu<http://www.cosbi.eu/>

As for the European General Data Protection Regulation 2016/679 on the 
protection of natural persons with regard to the processing of personal data, 
we inform you that all the data we possess are object of treatment in the 
respect of the normative provided for by the cited GDPR.
It is your right to be informed on which of your data are used and how; you may 
ask for their correction, cancellation or you may oppose to their use by 
written request sent by recorded delivery to The Microsoft Research – 
University of Trento Centre for Computational and Systems Biology Scarl, Piazza 
Manifattura 1, 38068 Rovereto (TN), Italy.
P Please don't print this e-mail unless you really need to

Reply via email to