Class DocumentReferenceResolver

java.lang.Object
com.yahoo.schema.DocumentReferenceResolver

public class DocumentReferenceResolver extends Object
Resolves all document references in the search definitions Iterates through all document fields having a NewDocumentReferenceDataType and uses NewDocumentReferenceDataType.getTargetTypeName() to determine the referenced document. This information is aggregated into a DocumentReferences object.
Author:
bjorncs
  • Constructor Details

    • DocumentReferenceResolver

      public DocumentReferenceResolver(Collection<Schema> schemas)
  • Method Details

    • resolveReferences

      public void resolveReferences(SDDocumentType documentType)
    • resolveInheritedReferences

      public void resolveInheritedReferences(SDDocumentType documentType)