I want to score the results from a query but when the matching fields are only in child documents, the score of parent document is always 0.0
The query:
{!tuple v="(((((brandedNominativeInfo.field9:Julie) AND (brandedNominativeInfo.field13:Bernier)))^64) OR ((((brandedNominativeInfo.field10:Julie) AND (brandedNominativeInfo.field14:Bernier)))^16))"}
The response:
"response": { "numFound": 2, "start": 0, "maxScore": 0, "docs": [ { "*_uri*": "geroot://RootEntity/UniqueCustomer//253464ba-b58a-36b9-b918-188596868483", "*rootId*": "253464ba-b58a-36b9-b918-188596868483", "*brandedNominativeInfo*": [ "\{\"field1\":[\"string\"],\"field2\":[\"string\"],\"field3\":[\"string\"],\"field4\":\"2019-07-18T04:00:00Z\",\"field8\":\"Julie\",\"field9\":\"Julie\",\"field10\":\"Julie\",\"field11\":\"female\",\"field12\":\"Bernier\",\"field13\":\"Bernier\",\"field14\":\"Bernier\",\"field18\":\"string\"} " ], "brandedEmailValue": [ "test@desjardins.com" ], "customerType": "INDV", "uniqueCustomerNumber": "500000001", "_timestamp": "2020-02-24T15:26:42.543Z", "customerNumber": [ "500000000" ], "brandedPhoneValue": [ "4189999999" ], "_modelName": "UniqueCustomer", "uniqueCustomerSharingInfoIndicator": true, "brandedEmailValueIgnoreCase": [ "test@desjardins.com" ], "brandCd": [ "DesjardinsGeneralInsurance" ], "score": 0 }, { "*_uri*": "geroot://RootEntity/UniqueCustomer//73ffe418-d788-3504-9453-63d086d42545", "*rootId*": "73ffe418-d788-3504-9453-63d086d42545", "*brandedNominativeInfo*": [ "\{\"field1\":[\"string\"],\"field2\":[\"string\"],\"field3\":[\"string\"],\"field4\":\"2019-07-18T04:00:00Z\",\"field8\":\"July\",\"field9\":\"July\",\"field10\":\"July\",\"field11\":\"female\",\"field12\":\"Bernyer\",\"field13\":\"Bernyer\",\"field14\":\"Bernyer\",\"field18\":\"string\"} " ], "brandedEmailValue": [ "test@desjardins.com" ], "customerType": "INDV", "uniqueCustomerNumber": "500000023", "_timestamp": "2020-02-24T15:30:28.313Z", "customerNumber": [ "500000022" ], "brandedPhoneValue": [ "4189999999" ], "_modelName": "UniqueCustomer", "uniqueCustomerSharingInfoIndicator": true, "brandedEmailValueIgnoreCase": [ "test@desjardins.com" ], "brandCd": [ "DesjardinsGeneralInsurance" ], "score": 0 } ] } }