atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

External items (from atomicdata.dev) not appearing in search for some instances

Open joepio opened this issue 1 year ago • 5 comments

E.g. here

Screenshot 2024-07-03 at 10 59 45

For some reason external resources are not included. Could be due to outdated version.

Requested URL:

https://common.terraphim.io/search?q=nam&limit=30&filters=https%5C%3A%2F%2Fatomicdata%5C.dev%2Fproperties%2FisA%3A%22https%3A%2F%2Fatomicdata.dev%2Fclasses%2FProperty%22&parents=https%3A%2F%2Fcommon.terraphim.io%2Chttps%3A%2F%2Fatomicdata.dev

Response:

{
  "@id": "https://common.terraphim.io/search?q=nam&limit=30&filters=https%5C%3A%2F%2Fatomicdata%5C.dev%2Fproperties%2FisA%3A%22https%3A%2F%2Fatomicdata.dev%2Fclasses%2FProperty%22&parents=https%3A%2F%2Fcommon.terraphim.io%2Chttps%3A%2F%2Fatomicdata.dev",
  "https://atomicdata.dev/properties/description": "Full text-search endpoint. You can use the keyword `AND` and `OR`, or use `\"` for advanced searches. ",
  "https://atomicdata.dev/properties/endpoint/parameters": [
    "https://atomicdata.dev/properties/search/query",
    "https://atomicdata.dev/properties/search/limit",
    "https://atomicdata.dev/properties/search/property"
  ],
  "https://atomicdata.dev/properties/endpoint/results": [],
  "https://atomicdata.dev/properties/isA": [
    "https://atomicdata.dev/classes/Endpoint"
  ],
  "https://atomicdata.dev/properties/lastCommit": "https://common.terraphim.io/commits/+mWsJ/L3STQJUeiM3pyjKKD5IFqomUJIw/ulhQWImtjCD8mwEA0yU54cLHHJhSeX61RyDFTc7ysBQCOF0QUwAg==",
  "https://atomicdata.dev/properties/parent": "https://common.terraphim.io/endpoints",
  "https://atomicdata.dev/properties/shortname": "search"
}

joepio avatar Jul 03 '24 09:07 joepio

@AlexMikhalev

joepio avatar Jul 03 '24 09:07 joepio

@Polleps Any idea what could be causing this? In my local demo's the external properties showed up just fine. However, I do notice that the parent is set as a filter, which may be the culprit

joepio avatar Jul 03 '24 09:07 joepio

Yes the parents prop is set to https%3A%2F%2Fcommon.terraphim.io%2Chttps%3A%2F%2Fatomicdata.dev, so it should work. It could be the server that doesn't know of the atomicdata.dev resources. Might be fixed by running with --initialise

Polleps avatar Jul 03 '24 11:07 Polleps

will initialize wipe existing resources?

AlexMikhalev avatar Jul 03 '24 14:07 AlexMikhalev

will initialize wipe existing resources?

Nope! It's safe

However, it does also create a new setup invite. Use it or delete it before Making public

joepio avatar Jul 03 '24 15:07 joepio