TAMULib / scholars-discovery

MIT License
1 stars 0 forks source link

August sprint staging #429

Closed wwelling closed 3 months ago

wwelling commented 3 months ago

Implementation of cacheable recursive lookup from a field source.

Can be used in discovery models.

i.e.

    @FieldType(type = "whole_strings")
    @FieldSource(
        template = "person/organization",
        predicate = "http://vivoweb.org/ontology/core#relates",
        lookup = {
            @CacheableLookup(
                template = "person/organizations",
                predicate = "http://www.w3.org/2000/01/rdf-schema#label"
            )
        }
    )
    private List<String> organizations;

Memory requirements increase to the number of cached recursive lookups. This can occur on any class and be parallelized by duplicate instances harvesting and indexing per class. There is no mechanism to synchronize multiple instances harvesting and indexing a single class.