SEARCH-2378: Storing every different PARENT for a Document instead of only one.

This commit is contained in:
Angel Borroy
2020-08-17 11:39:00 +02:00
parent 072241a252
commit ee3d68e4da

View File

@@ -2174,7 +2174,7 @@ public class SolrInformationServer implements InformationServer
} }
qNameBuffer.append(ISO9075.getXPathName(childAssocRef.getQName())); qNameBuffer.append(ISO9075.getXPathName(childAssocRef.getQName()));
assocTypeQNameBuffer.append(ISO9075.getXPathName(childAssocRef.getTypeQName())); assocTypeQNameBuffer.append(ISO9075.getXPathName(childAssocRef.getTypeQName()));
doc.setField(FIELD_PARENT, childAssocRef.getParentRef().toString()); doc.addField(FIELD_PARENT, childAssocRef.getParentRef().toString());
if (childAssocRef.isPrimary()) if (childAssocRef.isPrimary())
{ {