CredentialEngine / CredentialRegistry

Repository for development of the Credential Registry
Apache License 2.0
12 stars 10 forks source link

Reverse lookup for members of a collection is missing some results #699

Closed siuc-nate closed 4 months ago

siuc-nate commented 5 months ago

This collection has 3532 values in its ceterms:hasMember array: https://credentialengineregistry.org/resources/ce-d4fc564d-0e77-4f5e-a5b4-7c14b9584a46

However, when doing this query, only 1528 results are returned:

{
  "^ceterms:hasMember": {
    "ceterms:ctid": [
        "ce-d4fc564d-0e77-4f5e-a5b4-7c14b9584a46"
    ]
  }
}

Other collections I've looked at return the appropriate results, so it seems to just be an issue with this one.

This is part of a use case that one of our partners needs to have resolved ASAP.

Thanks.

excelsior commented 4 months ago

The indexer used to consume too much memory when indexing large collections. I deployed a fix and reindexed this one, now the query returns the correct number of members.

siuc-nate commented 4 months ago

This is working now, thanks.