Skip to content

Unable to search through atomicdata.dev resources locally #706

Closed
@joepio

Description

@joepio
Member

Since a couple of commits, users can search through external servers by adding aparents param in /search. However, right now searching for atomicdata.dev stuff will not work, because the server only knows of the default_store.json data, which does not include all parents (e.g. /collections or /properties).

We can solve this in a bunch of ways:

Add the parents to default_store.json

  • Will be hard to keep in sync, can't change stuff in the browser
  • Is fast and simple

Add a populate_parents command that recursively fetches parents

  • Iterate over all external resources, see if you have their parents. If the parent misses, fetch them

Change how populate works - verify parent

  • Seems more robust

Activity

added
bugSomething isn't working
serveratomic-server
on Nov 22, 2023
joepio

joepio commented on Nov 28, 2023

@joepio
MemberAuthor

This is currently failing the ontology spec

Screenshot 2023-11-28 at 22 33 41
self-assigned this
on Nov 28, 2023
added 6 commits that reference this issue on Nov 29, 2023

#706 fix search?

#706 fix search?

#706 fix search?

#706 fix search atomicdata.dev

#706 fix search atomicdata.dev

#706 fix search atomicdata.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserveratomic-server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @joepio

      Issue actions

        Unable to search through atomicdata.dev resources locally · Issue #706 · atomicdata-dev/atomic-server